DragonFly BSD
DragonFly bugs List (threaded) for 2010-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

tmpfs/screen permission issue


From: Francois Tigeot <ftigeot@xxxxxxxxxxxx>
Date: Sat, 13 Mar 2010 13:57:56 +0100

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]