Re: what's next for the linux kernel?

From: Bodo Eggert
Date: Wed Oct 05 2005 - 11:16:57 EST


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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/