Re: EXT2 Filesystem permissions (bug)?

From: Andreas Dilger (adilger@turbolinux.com)
Date: Mon Jun 25 2001 - 16:47:25 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 30 2001 - 21:00:13 EST