Permalink
Browse files

ensuring that daemon logs can be read by the group and by others

  • Loading branch information...
1 parent d438bf0 commit ecf4f8948beae4fd345f0f8345fc781ccc16fdb5 @mriehl mriehl committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/python/yadtreceiver/yadtreceiver
@@ -15,7 +15,7 @@ LOGFILE=/var/log/yadtreceiver/yadtreceiver.log
[[ -r $CONFIGFILE ]] && source $CONFIGFILE
LOG_DIR=`dirname $LOGFILE`
-chmod --recursive g+w $LOG_DIR/*
+chmod --recursive g+rw,o+r $LOG_DIR/*
get_pid() {
ps -eopid,cmd | grep -v grep | grep "python .*twistd .*$TACFILE" | sed "s/^ *//;s/ .*//"

0 comments on commit ecf4f89

Please sign in to comment.