[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Directory permissions - what is an "s"
- Subject: Re: [cobalt-users] Directory permissions - what is an "s"
- From: Martin Flack <martin@xxxxxxxxxxxxxx>
- Date: Thu Jun 1 14:00:21 2000
- Organization: NeoReality Design Technologies
David,
> I accidently changed the permissions on a logs directory for a
> site...
>
> from: drwxr-s--- to: drwxr-x---
>
> Would someone be so kind as to educate me as to what the "s" is
> for, and, how can I change the logs directory permissions back.
This will get it back:
chmod g+s directoryname
This flag makes all newly-created files in the directory owned by the
group that owns the directory, not the default group of the user
creating the file. This is a useful feature for teams of users working
on common files, and for automated processes that run as root but need
to make files that are editable/viewable etc by some select group of
normal users.
This Red Hat page explains it all much better than I just did:
http://www.redhat.com/support/manuals/RHL-6.2-Manual/ref-guide/s1-sysadmin-usr-grps.html
Martin Flack
Web Development Director
NeoReality Design Technologies
http://www.neoreality.com/