I was setting up a new hard drive for temporary folders and accidentally set the chmod +t
(sticky bit) file permission. How can I remove this setting? I have a program using it as temp folders and when it's done I can delete the files after I read them.
Asked
Active
Viewed 1.2k times
3
2 Answers
2
Execute
chmod -t your_folder
to remove the sticky bit.
+
means add
and -
means remove
.
Read the manpage for more details: man chmod

A.B.
- 90,397
-
so running chmod -t your_folder will make it where who ever can delete any file or subfolder in that folder correct? – Larry Oct 14 '15 at 20:59
-
No. Read the man page and the part about the sticky bit. – A.B. Oct 15 '15 at 03:45