3

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

2

Execute

chmod -t your_folder

to remove the sticky bit.

+ means add and - means remove.

Read the manpage for more details: man chmod

2
  • 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
0

This link have a complete explain for sticky bit

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .