projects
/
profile
/
ivi
/
pulseaudio-panda.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f55da5
)
daemon-conf: Don't make log files executable.
author
Tanu Kaskinen
<tanuk@iki.fi>
Sat, 13 Aug 2011 11:35:31 +0000
(14:35 +0300)
committer
Colin Guthrie
<colin@mageia.org>
Mon, 15 Aug 2011 08:41:56 +0000
(09:41 +0100)
src/daemon/daemon-conf.c
patch
|
blob
|
history
diff --git
a/src/daemon/daemon-conf.c
b/src/daemon/daemon-conf.c
index
1f70b09
..
c4ee544
100644
(file)
--- a/
src/daemon/daemon-conf.c
+++ b/
src/daemon/daemon-conf.c
@@
-194,7
+194,7
@@
int pa_daemon_conf_set_log_target(pa_daemon_conf *c, const char *string) {
pa_strlcpy(file_path, string + 5, sizeof(file_path));
/* Open target file with user rights */
- if ((log_fd = open(file_path, O_RDWR|O_TRUNC|O_CREAT, S_IR
WXU
)) >= 0) {
+ if ((log_fd = open(file_path, O_RDWR|O_TRUNC|O_CREAT, S_IR
USR | S_IWUSR
)) >= 0) {
c->auto_log_target = 0;
c->log_target = PA_LOG_FD;
pa_log_set_fd(log_fd);