SUID na adresare nefunguje?
Marek Les
marek na ryston.cz
Pondělí Srpen 9 15:47:46 CEST 1999
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."
Marek Leš
Další informace o konferenci Linux