Re: EXT2 Filesystem permissions (bug)?

Andreas Dilger (adilger@turbolinux.com)
Mon, 25 Jun 2001 15:47:25 -0600 (MDT)


Shawn Star writes:
> Is this a bug or something thats undocumented somewhere?
>
> d--------T
> and
> drwSrwSrwT
>
> are these special bits? I'm not aware of +S and +T

---S------ = setuid (normally shows up as "s" if "x" is also set)
------S--- = setgid (normally shows up as "s" if "x" is also set)
---------T = sticky bit (prevents non-owner from deleting a file in
world-writable directory like /tmp)

See chmod(1) for this info.

Cheers, Andreas

-- 
Andreas Dilger  \ "If a man ate a pound of pasta and a pound of antipasto,
                 \  would they cancel out, leaving him still hungry?"
http://www-mddsp.enel.ucalgary.ca/People/adilger/               -- Dogbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/