tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* file permission...
@ 1998-04-02 15:00 CHANTHP
  0 siblings, 0 replies; 2+ messages in thread
From: CHANTHP @ 1998-04-02 15:00 UTC (permalink / raw)
  To: tru64-unix-managers

     Hello all,
     
     My Digital UNIX systems are running wu-ftp ranging from version of 
     beta-13 to beta-16.  Under the real users account, every time when
     I uploaded file(s) to certain directory from my PC, and I get file 
     permission default with rw-r--r-- (644), but I want rw-rw-r-- (664)
     as the default every time when I uploaded.
     
     Do you know why? and how do I fix it?
     
     Under '/etc/profile' file , I set 'umask 002' so, I would get
     the default file permission with 664 for all real users.
     
     I appreciated your comments...
     
     Thanks,
     /Pat
      

^ permalink raw reply	[flat|nested] 2+ messages in thread
* File permission
@ 1996-05-09 20:17 Jay Shen
  0 siblings, 0 replies; 2+ messages in thread
From: Jay Shen @ 1996-05-09 20:17 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-04-02 15:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-02 15:00 file permission CHANTHP
  -- strict thread matches above, loose matches on Subject: below --
1996-05-09 20:17 File permission Jay Shen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox