2 ms·
Depends on the filesystem. Traditional unix permissions are simply r, w, x.
by sliverstorm 15y ago
Depends on the filesystem. Traditional unix permissions are simply r, w, x.
- floomp 15y agoIf you lack write permission on the directory, you can't delete any files in it, but you can still modify them if you have write permission on the files themselves. It's an unusual configuration, but it's possible with standard Unix permissions.
- pdw 15y agoIn traditional Unix you can delete a file if you have write access to the containing directory. The permission bits of the file don't matter. On all (?) modern Unix variants, you can set the sticky bit on a directory to also require write access to the file.