Re: buglet in ext2 sticky bit?

Gabor Lenart (lgb@oxygene.terra.vein.hu)
Sun, 24 Oct 1999 22:46:01 +0200


On Sun, Oct 24, 1999 at 10:19:34PM +0200, Frank van Maarseveen wrote:
> japetus /tmp rm -f aap
> rm: cannot unlink `aap': Operation not permitted
> japetus /tmp id
> uid=363(fvm) gid=215(sec) groups=215(sec),3972(owner),9998(inet1),9999(inet2),9997(inet3)
> japetus /tmp uname -a
> Linux japetus.localdomain 2.2.13pre9 #1 Sat Sep 18 21:32:21 MEST 1999 i486 unknown
>
>
> AFAIK a file writable for everyone should be deletable when
> +t on the parent dir.

I think no. In a directory with rights 0777 everyone remove any file as far
as I know. +t for directories make to deletable files in it only by its owner
(root can delete though). Correct me please, if I wrong.

-- 
 ---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]---
   Ready to love, ready to fly. Ready to fail, ready to flow, ready to die ...
 ---[ 30/2270823 ]--------[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]---
 finger lgb@hal2000.hal.vein.hu for more   -==-   SMS : lgblgb@westel900.net

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