[Alan Dennis]
> /run/lock is created with perms 0755 in /lib/init/mount-functions.sh
> : mount_lock().  This prevents non-privileged users from creating
> files/directories in /run/lock.
> In particular, the logcheck package runs as a logcheck user and
> fails to create /run/lock/logcheck.
> Changing mount_lock() to mkdir with --mode=1777 fixes the problem.

Hm.  What did it use to have when it was /var/lock/?  My squeeze
installation got this:

  % ls -lad /var/lock/.
  drwxrwxrwt 3 root root 4096 10 sep.  10:49 /var/lock/.
  %

I find no file permission mode instructions in
<URL: http://www.pathname.com/fhs/2.2/fhs-5.9.html >.

But given the use of this directory, I suspect the 1777 mode is
correct, and that this is a regression from Squeeze.

-- 
Hapy hacking
Petter Reinholdtsen


-- 
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