Basically, all i am trying to do is to set the file permissions of any new
file/sub directory directory created in a shared directory so that the
owner and group had full read/write access by default and others had no
access. I was under the impression that umask did this 

Phill

---------------------------- Original Message
----------------------------
Subject: Re: [SLUG] file permissions
From:    "Matthew Hannigan" <[EMAIL PROTECTED]>
Date: 
  Mon, March 27, 2006 11:43 am
To:      "Phill O'Flynn"
<[EMAIL PROTECTED]>
Cc:      [email protected]
--------------------------------------------------------------------------

On Mon, Mar 27, 2006 at 08:14:13AM +1100, Phill O'Flynn wrote:
> On
> my fc4 file server I have a shared folder that has
been set 
> recursively to 2770. This works ok
> 
> But if i set any folder with
> umask 007,

I'm
not sure what you mean by 'set any folder'
umask is a property of the
process, not a folder (directory)

>  any subsequent new
folder/file has read access for 
> "others" and is
write-protected from the "group" when
> i am expecting
no access to others and write access for any one in the
> group
> 
> if i type umask after going to the immediate parent
> directory it is correct. ie "0007"

Likewise,
umask won't change when you change directories.


Matt



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to