0

I have a shared directory at / with access 777. So all my users can create files in it. But I want to prevent users from deleting each others files. Any way to do it. I remember something about a setting special bit but can't really remember what exactly it is.

1 Answer 1

2

You have to set the sticky bit:

chmod 1777 directory

/tmp is a folder with that behaviour.

2

You must log in to answer this question.

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