how can i share a file/folder allowing users to edit but not to delete it ? thanks
Give the user/group write permissions to the file, but not to the directory that contains it. The user/group will be able to modify the contents (including removing all content), but they cannot unlink the file (this requires modifying the directory). On 8/23/05, deep xploit <deepxploit@gmail.com> wrote:> how can i share a file/folder allowing users to edit but not to delete it ?
Apparently Analagous Threads
- delete content of directory - unlink doesn't work as expected
- A windows user can create a file, but cannot delete
- rsync --delete with empty source folder for fast snapshot deletion: Permissions of hardlinked files are changed to 644. Workaround?
- DO NOT REPLY [Bug 7129] New: rsync 3.0.7 - unlink failed (21) - unable to delete directory
- unlink() on "~" removes the home directory