[Gllug] OT: Apple OS X Server File Permissions

Tethys tet at accucard.com
Tue Oct 29 14:43:54 UTC 2002


Ian Baillie writes:

>A novice question, but how do I find the sticky bit? (I do recall this
>from a book I read many moons ago, but I'm still a novice).

Look for the "t" flag in the permissions string. For example:

	isengard:~% ls -ld /tmp
	drwxrwxrwt   20 root     root         8192 Oct 29 14:38 /tmp

If you want to search for, say, sticky directories with find, you
need to look for mode 1000:

	find . -type d -perm -1000 -print

Tet

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list