Package: lshell
Version: 0.9.15.1-1
Severity: normal

Hi,

When logrotate runs it generates an error message:

error: skipping "/var/log/lshell/*.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.

The persmissions on /var/log/lshell directory are as follows:

drwxrwx---  2 root lshell  4096 Apr 13 01:54 .

while group never has write permissions on any other subdirectories
in /var/log:

---8<---
drwxr-xr-x  2 root              root         4096 Apr  1 07:41 apt
drwxr-xr-x  2 root              root         4096 Jul  3  2011 atsar
drwxr-xr-x  2 root              root         4096 Sep 13  2011 collectl
drwxr-xr-x  2 root              root         4096 Jun 23  2011 ctdb
drwxr-xr-x  2 root              lpadmin      4096 Apr 14 00:53 cups
drwxr-xr-x  2 root              root         4096 Jan  1  1904 fsck
drwxr-xr-x  2 root              root         4096 Jan 10 17:41 hp
drwxr-xr-x  3 root              root         4096 Jan  1  1904 installer
drwxr-xr-x  2 root              root         4096 Apr  5  2010 mgetty
drwxr-x---  3 root              adm          4096 Sep 24  2011 samba
drwxr-x---  2 root              adm          4096 Apr 13 00:46 setuid
--->8---

Setting the permisions to 640 on /var/log/lshell fixes the issue.

Kind regards,

rjc

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 3.2.0-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lshell depends on:
ii  adduser    3.113+nmu1
ii  python     2.7.2-10
ii  python2.6  2.6.7-4
ii  python2.7  2.7.3~rc2-2

lshell recommends no packages.

lshell suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to