|
|
What's a sticky bit? |
A sticky bit is one of the permissions that can be set on a directory. Most people are familiar with read and write permissions already. drwxrwxrwx <-- A directory that any user can list,
create/delete files in, or access.
When the sticky bit is set on a directory, it means that anyone can create files in the directory but users can only delete files they own.drwxrwxrwt <-- Here the sticky bit is set.The temp directory has the sticky bit set on it. To set the sticky bit on a directory called /foo as shown above, enter the command: chmod 1777 /foo
<mschalit@pacbell.net>
| |
| [Append to This Answer] |
| Previous: |
|
| Next: |
|
| ||||||||