[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Please pity a newbie...file permissions
- Subject: Re: [cobalt-users] Please pity a newbie...file permissions
- From: Larry Smith <lesmith@xxxxxxxxx>
- Date: Tue Feb 10 10:12:00 2004
- Organization: ECSIS
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
On Tuesday 10 February 2004 11:44, Dana Millaway wrote:
> drwxr-sr-x 20 ddisher home 2048 Feb 2 16:03 teachers
The "S" stands for Set-Group-ID (SGID)
There are actually 12 bits that go into a "mode" setting
XXX (in a moment) and the Owner, Group, World read/write/execute
Most people know the rwxrw-rw- pretty well (mode 766), but few know the
upper set (leading XXX) which are
4 - set UID (set the owner to be this owner when run/accessed)
2 - set GID (set the group to be this group when run/accessed)
1 - set the execute to be this owner/group (if in position 1 or 2)
or
1 - set the directory/file to be "sticky" (not removable) if in the 3rd
position.
so your mode is 2755 from above.
Answer to second question: NO if left as is.
chmod on the directory to 2775 and both the owner _and_ their group will have
write access to the directory (which includes any other users under that site
by the way)....
--
Larry Smith
SysAd ECSIS.NET
sysad@xxxxxxxxx