summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Widawsky2016-01-01 21:57:48 -0800
committerBen Widawsky2016-01-01 21:57:48 -0800
commit6da03744ce480ef47ec399156688fa4d95c25029 (patch)
tree9bf42c60c0f7e8df4e7745fd324ca87d35efab03
parent64dbef02b2626f30650d34d40b59fa0607165bd5 (diff)
downloadaur-6da03744ce480ef47ec399156688fa4d95c25029.tar.gz
Fix ownership of log file
If all the defaults are followed and the location of the log files aren't changed, there is no issue. However, if the user changes the location of the log file, the daemon tries to chown the wrong user. This was a leftover issue from the big merge I did last. Reported-by: bitfix
-rw-r--r--icecreamd2
1 files changed, 1 insertions, 1 deletions
diff --git a/icecreamd b/icecreamd
index f0ca66f1960d..22f32f77af17 100644
--- a/icecreamd
+++ b/icecreamd
@@ -7,7 +7,7 @@ fi
logfile=""
if test -n "${ICECREAM_LOG_FILE}"; then
touch ${ICECREAM_LOG_FILE}
- chown icecc:icecc ${ICECREAM_LOG_FILE}
+ chown icecream:icecream ${ICECREAM_LOG_FILE}
logfile="-l ${ICECREAM_LOG_FILE}"
fi
nice=""