From: Jay Shen <jshen () emperor ! kidsat ! ucsd ! edu>
To: tru64-unix-managers
Subject: File permission
Date: Thu, 09 May 1996 20:17:37 +0000 [thread overview]
Message-ID: <96076332421283.tru64-unix-managers.marc@archive.invalid> (raw)
Let's say I have user a, b and c, and group x and y. Both user a and b has
default group of x, c has default group of y. And b also belong to group y.
And I also have the following directories:
drwxr-xr-x 1 a x 1024 May 1 20:22 first
drwxr-xr-x 1 b x 1024 May 1 20:10 second
drwxrwsr-x 1 c y 1024 May 1 20:10 third
Now I want user b to write to third directory with a default file
permission of 770. I can easily accomplish this with umask. However, I do
NOT want to change the umask because I want user b to have a default file
permission of 755 when writing to second directory. Is there a way
to accomplish this? Basiclly do selectly umask depending on the parent
directory permission.
Jay
next reply other threads:[~1996-05-09 20:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-09 20:17 Jay Shen [this message]
-- strict thread matches above, loose matches on Subject: below --
1998-04-02 15:00 file permission CHANTHP
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox