FS#25181 - [privoxy-3.0.17] logrotate whines about wrong permission
Attached to Project:
Community Packages
Opened by solsTiCe (zebul666) - Tuesday, 19 July 2011, 22:43 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 21 July 2011, 12:55 GMT
Opened by solsTiCe (zebul666) - Tuesday, 19 July 2011, 22:43 GMT
Last edited by Lukas Fleischer (lfleischer) - Thursday, 21 July 2011, 12:55 GMT
|
Details
One need to add a line like
su privoxy privoxy in /etc/logrotate.d/privoxy to make logrotate stops whinning about: error: skipping "/var/log/privoxy/jarfile" 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. error: skipping "/var/log/privoxy/logfile" 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. |
This task depends upon
Closed by Lukas Fleischer (lfleischer)
Thursday, 21 July 2011, 12:55 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of FS#25176 .
Thursday, 21 July 2011, 12:55 GMT
Reason for closing: Duplicate
Additional comments about closing: Dupe of
FS#25176. If you were upgrading from 3.0.17-2, pacman(8) probably displayed a warning about the package and the existing log directory having different permissions. In that case, just `chgrp root /var/log/privoxy` manually (as root).