On Wed, 5 Oct 2005, Marc Perkel wrote:
> What is incredibly idiotic is a file system that allws you to delete
> files that you have no write access to. That is stupid beyond belief and
> only the Unix community doesn't get it.
1) Unlinking is not deleting, it may just trigger deleting. !Unix people
don't get it.
If you like non-owners to have no unlink permission, you have to set
the sticky bit. If you want other users not to be able to delete files
you put into a public directory, put a link into that directory and
keep one in a private directory.
2) If you're accounted for the space occupied by your directories, you
need the permission to remove the directory. Otherwise you could DoS
other users if you have write permission in one of his directories.
--
Funny quotes:
29. When someone asks you, "A penny for your thoughts" and you put your two
cents in . . . what happens to the other penny?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]