uucico can't create a lockfile in /var/lock (permission denied)

Bug #30637 reported by Michael Bienia
4
Affects Status Importance Assigned to Milestone
sysvinit (Ubuntu)
Fix Released
Medium
Scott James Remnant (Canonical)

Bug Description

Since the change of the permissions for /var/lock in initscripts 2.86.ds1-6ubuntu7 uucico can't create a lockfile in /var/lock anymore.

uucico lilly - (2006-02-05 20:10:02.95 5728) ERROR: creat (/var/lock/TMP0000001660): Permission denied

uucico is suid uucp and sgid dialout. A lock file from uucico has as uid/gid and permissions:
-rw-r--r-- 1 uucp dialout 11 2006-02-06 13:50 LCK..lilly

Revision history for this message
Nils Naumann (nau) wrote :

Same for me.
The reason is, the directory is mounted with the permission 0755. Should'nt it be 1777? I have temporarly solved it by changing the corresponding line in mountvirtfs.

Revision history for this message
Michael Bienia (geser) wrote :

I did the same (changing the mode to 1777).

I checked the permissions of /var/lock on a Debian system (I had no other Ubuntu system to check) and there the permissions are 1777.
According to the changelog the permissions were changed for Ubuntu because of security concerns.

Revision history for this message
Scott James Remnant (Canonical) (canonical-scott) wrote :

The change of the /var/lock permissions was probably a mistake; reverted to 1777.

Changed in sysvinit:
assignee: nobody → keybuk
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.