3 ms·
"Someone had ran RM * on their shared storage, deleting the file system." Doesn't this command, like any other delete-command, require top privileges (admin/ro
by Zirro 14y ago
"Someone had ran RM * on their shared storage, deleting the file system."
Doesn't this command, like any other delete-command, require top privileges (admin/root) that are unavailable in normal situations?
- mcpherrinm 14y agoPresumably the people working on the film had the ability to edit the assets, and thus could delete them.
- Zirro 14y agoI'm still under the impression that modifying and completely removing are different things, but perhaps it was a sloppy configuration or that they put too much trust in their employees.
- sliverstorm 14y agoDepends on the filesystem. Traditional unix permissions are simply r, w, x.
- floomp 14y 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 14y 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.