Logrotate failing for at least Samba and nginx · Issue #1046

Issue #1046 was corrected and merged mid 2020.
Can anyone provide steps to modify permissions for existing systems that have this problem?
I do not want to change permissions and break my system.
Did not find anything when searching the forum. Thanks.

ls -ld /var/log/samba /var/log/samba/*|grep -v gz
drwxr-x— 3 root root 4096 Feb 28 09:56 /var/log/samba
drwxr-x— 4 root root 4096 Dec 29 15:56 /var/log/samba/cores
-rw-rw-r-- 1 root root 16157 Mar 3 19:07 /var/log/samba/log.nmbd
-rw-rw-r-- 1 root root 33330 Feb 28 09:56 /var/log/samba/log.nmbd.1
-rw-rw-r-- 1 root root 0 Feb 15 07:07 /var/log/samba/log.smbd
-rw-rw-r-- 1 root root 168 Feb 14 18:05 /var/log/samba/log.smbd.1

I did not find nginx entries as part of the fix_permissions menu.
For samba permissions have a look at the above example. You can see owner and permissions.


Many thanks.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.