Bureaucrats, cc_docs_admin, cc_staff
2,879
edits
(sticky bit and ls -l) |
(Marked this version for translation) |
||
Line 50: | Line 50: | ||
to set the sticky bit and <code>rwxrwxr--</code> permissions on the directory. | to set the sticky bit and <code>rwxrwxr--</code> permissions on the directory. | ||
<!--T:14--> | |||
The sticky bit is represented in <code>ls -l</code> output by the letter "t" or "T" in the last place of the permissions field, like so: | The sticky bit is represented in <code>ls -l</code> output by the letter "t" or "T" in the last place of the permissions field, like so: | ||
$ ls -ld directory | $ ls -ld directory | ||
drwxrws--T 2 someuser def-someuser 4096 Sep 25 11:25 directory | drwxrws--T 2 someuser def-someuser 4096 Sep 25 11:25 directory | ||
<!--T:15--> | |||
The sticky bit can be unset by the command | The sticky bit can be unset by the command | ||
{{Command|chmod -t <directory name>}} | {{Command|chmod -t <directory name>}} |