Skip to content

Commit

Permalink
Add "su" directive on logrotate's config
Browse files Browse the repository at this point in the history
To make sure it will use the default user and group and prevent errors if the parent directory is world writable.
See http://stackoverflow.com/questions/26482773/apache-and-logrotate-configuration
  • Loading branch information
daronco authored Jun 24, 2016
1 parent ce22d6c commit dfec1c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/logrotate/mconf-web
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
compress
copytruncate
notifempty
su mconf www-data
}

0 comments on commit dfec1c9

Please sign in to comment.