Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"error: skipping "somthing.log" because parent directory has insecure..."

Featured Replies

I get an email every day with the following:

 

error: skipping "/var/log/docker.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.
error: skipping "/var/log/syslog" 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/vsftpd.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.
error: skipping "/var/log/wtmp" 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/btmp" 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.

 

Also reported many times elsewhere:

 

http://lime-technology.com/forum/index.php?topic=36527.msg339961#msg339961

http://lime-technology.com/forum/index.php?topic=36527.msg339963#msg339963

http://lime-technology.com/forum/index.php?topic=36527.msg339973#msg339973

http://lime-technology.com/forum/index.php?topic=36527.msg339985#msg339985

http://lime-technology.com/forum/index.php?topic=36527.msg341657#msg341657

http://lime-technology.com/forum/index.php?topic=37201.msg343880#msg343880

 

Help? Advice?

 

[update]

How to fix:

https://linuxslut.net/logrotate-parent-directory-has-insecure-permissions/

https://bugs.launchpad.net/ubuntu/+source/logrotate/+bug/1278193

https://www.novell.com/support/kb/doc.php?id=7005219

 

I added “su root root” to the bottom of of each file in /etc/logrotate.d.  Example in attached image.

 

I think it is also possible to address this via “/etc/logrotate.conf” and possibly that is the only file that needs editing.  I just didn’t want to break everything. 

 

Of course the changes are lost if you reboot. 

log.png.47bd033b244cd7e518274e15dacf67b9.png

  • 1 month later...

I'm getting the exact same email - would like to know if there is a neater way to solve rather than copying each logrotate.d entry over via the go script.

  • Author

I hope another beta is due soon with the fix included.  Seems like it's been a good while since the last one.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.