Originally Posted by kramer2718
Hi. I'm trying to set up a directory where users can store their files but not delete them. I would like users to be able to create files, list the contents of the directory and read files. What I would not like them to be able to do is to delete files (I guess that it's okay if they can delete their own files, but they should not be able to delete others files).
Right now I have the directory set as drwxrwxr-x but this still allows user x to delete user y's files. How can I set up the permissions for this?
Try the sticky bit on the directory like:
chmod 1775 directory-name
rwxrwxr-x translates to 775.
To learn more about sticky bit...go here