chmod 4755 ./somedir

Marcel Hild (hild@ix.beuel.rhein.de)
Thu, 24 Jul 1997 00:01:30 +0200 (CEST)


Hi,
i'm sorry if i bother you with a *could.be.stupid* mail, but i've asked loads
of people 'bout that.
uname -a: Linux ix.beuel.rhein.de 2.0.30 #18 Mon Apr 21 19:07:57 CEST 1997 i486

if i do a chmod 2755 on a directory it becomes SGID and new files will belong
to the group of that directory. but if i do chmod 4755 the directory becomes
SUID: drwsr-xr-x but new files dont belong to the owner of the SUID dir.
does the kernel ignore SUID on directories or has it some rather invisible
effects? i am very curios. i hope you can explain that to me.
thanks in advance
marcel

ps. because i am not interested in ext2fs hacking i did'nt subscribe to that
mailinglist, so i can only receive an answer if you directly reply to
`hild@beuel.rhein.de`. thnx

-- 
happy filtering.................................................................
BITCH FUCK NAZI ATOMIC-DEVICE SEX FUHRER KILL WAR DEATH NUCLEAR-WARFARE VIOLENCE