SUID na adresare nefunguje?

Leos Bitto bitto na atrey.karlin.mff.cuni.cz
Pondělí Srpen 9 16:05:55 CEST 1999


Marek Les (marek na ryston.cz) wrote:
: Leos Bitto wrote:
: > 
: > Marek Les (marek na ryston.cz) wrote:
: > : zdravicko..
: > :
: > : mam takovy problem: jestli to dobre chapu, tak SUID a SGID prava na
: > : adresare by mely fungovat tak, ze jakykoliv vytvoreny soubor v tomto
: > : adresari dedi vlastnika (pri SUID) nebo skupinu toho nadrazeneho
: > : adresare. u SGID mi to funguje, u SUID ale ne a ja nevim proc..
: > 
: > Chapete to spatne. Pro SUID byt na adresari nic takoveho neplati, > funguje to pouze pro SGID.
: 
: aha - takze informace v Linux-Permissions.HOWTO jsou spatne?
: 
: "s = allow suid (set user id) to same owner as that of the file when the
: file is executed. lower case s also means the user x flag is set.
: If set on a directory, any files created in that directory will not
: inherit the s flag but will inherit the same ownership as that of the
: parent directory.  Any subdirectories created will inherit both the
: parent directory ownership and the s flag."

Ano, to HOWTO je evidentne chybne. Takhle to proste nefunguje, nikdy jsem
to tak fungovat nevidel a doted jsem ani nikde necetl ze by to tak
fungovat melo.


Leos Bitto


Další informace o konferenci Linux