tmpfs/screen permission issue

Francois Tigeot ftigeot at wolfpond.org
Sat Mar 13 05:00:37 PST 2010


Launching misc/screen(1) with tmpfs mounted on /tmp fails with a permission
error:

$ id
uid=1000(ftigeot) gid=20(staff) groups=20(staff), 0(wheel)

$ screen
You are not the owner of /tmp/screens/S-ftigeot.

$ ls -lad /tmp/screens/S-ftigeot
drwx------  2 root  wheel     0B Mar 13 12:45 /tmp/screens/S-ftigeot

The owner of /tmp/screens/S-ftigeot is incorrectly set to root.


With /tmp on a Hammer or UFS file system, /tmp/screens/S-$user ownership is set
to the user which launched screen(1) and its default group:

$ ls -lad /tmp/screens/S-ftigeot
drwx------  1 ftigeot  staff     0B Mar 13 12:52 /tmp/screens/S-ftigeot


This issue appeared on a system running DragonFly v2.5.1.945.ge3c80b-DEVELOPMENT
from March 12.


-- 
Francois Tigeot





More information about the Bugs mailing list