Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use su directive in Debian's logrotate file to avoid skipping.

error: skipping "/var/log/interchange/error.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
  • Loading branch information...
commit f7a835192c21c70488d9ac50da6a11bd05ee0fb8 1 parent 8616e94
@racke racke authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 debian/interchange.logrotate
View
4 debian/interchange.logrotate
@@ -1,7 +1,7 @@
#
# logrotate configuration file for Interchange debian package
#
-# Copyright 2000,2001,2002 by Stefan Hornburg (Racke) <racke@linuxia.de>
+# Copyright 2000,2001,2002,2013 by Stefan Hornburg (Racke) <racke@linuxia.de>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -19,6 +19,7 @@
# MA 02110-1301 USA.
/var/log/interchange/error.log {
+ su interchange interchange
rotate 7
size=100k
compress
@@ -26,6 +27,7 @@
}
/var/log/interchange/debug.log /var/log/interchange/makecat.log {
+ su interchange interchange
rotate 7
size=100k
compress
Please sign in to comment.
Something went wrong with that request. Please try again.