Re: EXT2 Filesystem permissions (bug)?

Luigi Genoni (kernel@Expansa.sns.it)
Wed, 27 Jun 2001 11:37:23 +0200 (CEST)


On Wed, 27 Jun 2001, Kenneth Johansson wrote:

> Interesting but I wonder how much this helps someone that not already know what it is. Should not the ls manual also contain something that explains the meaning instead of just the mapping from bits to symbol.
>
> Do linux even support the sticky bit (t) I can't see a reason to use it, why would I want the file to be stored in the swap ??
>
??????
if i have a sticky bit on a directory where every user has permission to
write, and i write a file, that i will be the only one able to
modify/delete my file.
If there is no sticky bit on the directory, then every one is able to
manipulate my file.

How is this related to swap?

usually the sticky bit is used for /tmp /var/tmp, where it has to be used
for security reasons.

Maybe you are making confusion because some other Unix use the /tmp
partition with a special FS to use it also as a swap area (Slowlaris for
expample, the old, old, old HP-UX pre 7.X versions and so on), and
of course /tmp has the sticky be setted.
If i am wrong with my supposition, excuse me.

Luigi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/