[lug] X FontPaths
D. Stimits
stimits at idcomm.com
Wed Feb 7 12:54:17 MST 2001
John Karns wrote:
>
> On Wed, 7 Feb 2001, Nate Duehr said:
>
> > Make sure non-root users can write to /tmp.
>
> my permissions for /tmp are:
>
> drwxrwxrwt 15 root root 4096 Feb 7 09:51 tmp/
>
> ... what's the trailing 't' mean? And how is it set?
>
> ----------------------------------------------------------------------
> John Karns jkarns at csd.net
>
That is the sticky bit. One way to set it is to cd to /tmp as root, and
run:
chmod 1777 .
This will set tmp as readable and writeable and executable to all users,
plus the sticky bit will be on. Normally if you have a directory with so
many permissions, any user could come in and delete or alter the files
of another user without them knowing, thus breaking things or adding
covert changes. The sticky bit allows all users to do anything in
creating new files, or altering their own, but disallows them from
deleting or altering files that pre-exist and are not owned by them.
It's a playground with a supervisor, so to speak.
More information about the LUG
mailing list