[5103] in RedHat Linux List
Re: chmod perms, autoset?
daemon@ATHENA.MIT.EDU (Peter Moulder)
Tue Nov 19 01:21:52 1996
Date: Sun, 17 Nov 1996 15:36:01 +1100
From: Peter Moulder <reiter@netspace.net.au>
To: redhat-list@redhat.com
In-reply-to: Skull's message of Sun, 10 Nov 1996 14:13:59 -0500
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
In article <3.0.32.19961110141312.007aab80@yakko.cs.wmich.edu> Skull <skull@yakko.cs.wmich.edu> writes:
This is more a unix type question rather than redhat
so post to comp.unix.questions
How could I set permissions on a directory so that the files place
in it by other people have the exact permissions I want them to
have when created?
You can't. The best you can do is to use umask.
As you say, files created in directories with the sgid bit (and in any
directory, irrespective of sgid bit, on some systems) inherit the
group from the directory.
pjm.
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null