[3736] in RedHat Linux List

home help back first fref pref prev next nref lref last post

chmod perms, autoset?

daemon@ATHENA.MIT.EDU (Skull)
Sun Nov 10 14:17:51 1996

Date: Sun, 10 Nov 1996 14:13:59 -0500
To: redhat-list@redhat.com
From: Skull <skull@yakko.cs.wmich.edu>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

This is more a unix type question rather than redhat, so anyone
feel free to email the answer rather than clutter the list more.
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? So far, I've done chmod (set the settings I want)
and then chmod g+s so it sets the files within the directory to
force to the same group bit, but could I do that for say, a person?
or exact read write execute settings ?? It would be nice if I could
let people create a file, and then when they were done, it would
become chmod 644 and group owned by a specific group at least, not
so much concerned about the exact owner of the file, else the owner
I'd want would remove their permissions to do anything but create
a empty file.

Thanks,
Darron


--
  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


home help back first fref pref prev next nref lref last post