[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: default group




I just said:
> As root...
> 
> alpha:~# mkdir /tmp/foo
> alpha:~# chgrp nobody /tmp/foo
> alpha:~# chmod 3777 /tmp/foo

I suppose I should have mentioned that the leading 3 is 1 for the
sticky bit plus 2 for setgid.  "chmod a+rwx,g+s,+t" would be
equivalent, but "chmod 3777" is much shorter.  :-)

Steve
-- 
steve@silug.org           | Linux Users of Central Illinois
(217)698-1694             | Meetings the 4th Tuesday of every month
Steven Pritchard          | http://www.luci.org/ for more info

--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.