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.

2 Answers 2



chmod -t your_folder

to remove the sticky bit.

+ means add and - means remove.

Read the manpage for more details: man chmod

  • 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, 2015 at 20:59
  • No. Read the man page and the part about the sticky bit.
    – A.B.
    Oct 15, 2015 at 3:45

This link have a complete explain for sticky bit

  • excuse me. link was broken. I was edit it. Oct 14, 2015 at 14:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.