Hirdetés

Új hozzászólás Aktív témák

  • FixY67
    senior tag

    MOD: hm, számít, hogy könyvár :B Arról nekem se szedi le.
    man chmod:
    chmod preserves a directory's set-user-ID and set-group-ID bits unless you explicitly specify otherwise. You can set or clear the bits with symbolic modes like u+s and g-s, and you can set (but not clear) the bits with a numeric mode.

    Sejtem már... azon a nyomorult Ubin van valami apparmor vagy miatúró... Nem ismerem, nem tudom, pontosan mit csinál, de könnyen lehet, hogy az pofázott bele az életembe.

    Egy biztos, linuxos (Tomato) routeren, rootként működik:

    root@router:/tmp/home/root# mkdir x
    root@router:/tmp/home/root# chmod 6777 x
    root@router:/tmp/home/root# ls -l
    drwsrwsrwx 2 root root 40 Mar 27 15:14 x
    root@router:/tmp/home/root# chmod 0777 x
    root@router:/tmp/home/root# ls -l
    drwxrwxrwx 2 root root 40 Mar 27 15:14 x

Új hozzászólás Aktív témák