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

RE: [cobalt-users] Directory permissions - what is an "s"



set user or group id on execution.  These are typically referred to as suid
files and a great way for gaining unauthorized access to a system.  do man
chmod for more info in permissions.

John Burgess
President, Allegro Data Systems
12500 Network, Suite 401
San Antonio, TX  78249
210-558-0709
E-mail <mailto:john.burgess@xxxxxxxxxx>
Fastex.net <http://www.fastex.net/>


> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx
> [mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Martin Flack
> Sent: Thursday, June 01, 2000 3:57 PM
> To: dd@xxxxxxxxxxxxxxx; cobalt-users@xxxxxxxxxxxxxxx
> Subject: Re: [cobalt-users] Directory permissions - what is an "s"
>
>
> 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/

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users