hey there
I have a problem in understanding the point of a sticky bit, since what it was supposed to do, it's already been done via regular permissions...i might be doing this in a wrong way, but here's an example
Quote:
user x and user y are from the same group
logging as user x
$ chmod 1777 filexy
$ chmod 777 filez
logging as user y
$rm filexy
prompts an error about permission denied... all good
$rm filez
prompts the same exact error...shouldn't i be able to delete this file with any user, even more if i'm from the same group as the user x?
|
This is my doubt. the sticky bit looks pointless because even with not setting that special bit, every other user can't remove a file or directory unless it's the owner.
Working on a Debian system, in a virtual machine.
Thanks in advance