Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Make sure it's Sticky' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Make sure it's Sticky
Authored by: bakaDeshi on Jul 22, '02 04:04:32PM
drwxrwxrwt    3 root     wheel          58 Jul 22 14:54 /tmp//
drwxrwxrwt    3 root     wheel          58 Jul 22 14:54 /private/tmp//
sudo chmod 1777 /tmp /private/tmp The sticky bit('t' at the end of perm) does not allow other users(programs) that use tmp to change other users files that are also in tmp.

[ Reply to This | # ]
Clarification: Perms after
Authored by: bakaDeshi on Aug 02, '02 05:56:22AM
% ls -ld /tmp /tmp/ /private/tmp/
drwxrwxrwt    5 root     wheel         126 Aug  2 04:47 /private/tmp//
lrwxrwxr-t    1 root     admin          11 Aug  2 02:29 /tmp -> private/tmp/
drwxrwxrwt    5 root     wheel         126 Aug  2 04:47 /tmp//


[ Reply to This | # ]