X does not work as regular user, but it does at root
parv.0zero9+freebsd at gmail.com
Sat Apr 17 06:06:20 UTC 2021
On Fri, Apr 16, 2021 at 4:09 PM parv/freebsd wrote:
> Instead of setting setuid on each & every file & directory under /tmp,
Sorry, above “setuid” should have been “sticky bit”.
> to set those permissions on /tmp directory itself. Then anyone can create
> files in /tmp & not overwrite each others'.
> But before you do that, please post the output of ...
> % /bin/ls -Fold /tmp
> ... below is from on my computer, all the directories are created (much) after
> machine has rebooted & I do not set the permission on any files & directories in
> /tmp ...
> drwxrwxrwt 7 root wheel uarch 9 Apr 16 15:50 /tmp/
> ... you can set the permissions on /tmp via as root ...
> % chmod 1777 /tmp
More information about the freebsd-questions