On Tue, Sep 14, 2010 at 04:13:31PM -0400, Linder, Doug wrote:
> I recently created a test zpool (RAIDZ) on some iSCSI shares.  I made
> a few test directories and files.  When I do a listing, I see
> something I've never seen before:
> 
> [r...@hostname anewdir] # ls -la
> total 6160
> drwxr-xr-x   2 root     other          4 Sep 14 14:16 .
> drwxr-xr-x   4 root     root           5 Sep 14 15:04 ..
> -rw------T   1 root     other    2097152 Sep 14 14:16 barfile1
> -rw------T   1 root     other    1048576 Sep 14 14:16 foofile1
> 
> I looked up the "T" bit in the man page for ls, and it says that "T"
> means  "The 1000 bit is turned on, and execution is off (undefined
> bit-state)."  Which is as clear as mud.

It's the sticky bit.  Nowadays it's only useful on directories, and
really it's generally only used with 777 permissions.  The chmod(1) (man
-M/usr/man chmod) and chmod(2) (man -s 2 chmod)  manpages describe the
sticky bit.

Nico
-- 
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to