Thanks guys,
I guess there is no real way to set default
permissions in a shared folder for new folders and files (apart from using
samba as matt suggested). Is that right?
Phill
---------------------------- Original Message
----------------------------
Subject: Re: [Fwd: Re: [SLUG] file
permissions]]
From: "Steve Kowalik"
<[EMAIL PROTECTED]>
Date: Tue, March 28, 2006 11:37
am
To: "Phill O'Flynn"
<[EMAIL PROTECTED]>
Cc: slug@slug.org.au
--------------------------------------------------------------------------
On Tue, 28 Mar 2006 10:51:58 +1100 (EST), Phill O'Flynn uttered
> I am aware that existing files are not affected.
>
> One thing I found in my playing around that if i set the umask
in
> a console window any files or dirs created after (in that
window) have the
> permissions i expect. However if i open up an
instance of nautilus to
> create new files and dirs, the file
permissions are set differently
> is this normal
>
Yes, this is intended behaviour - the umask() syscall, the heart of
the umask command only operates per process. So, your shell in your
terminal has changed umask, but Nautilus, being a separate process,
has it's own umask, which is unchanged.
Cheers,
--
Steve
In the beginning was the word, and the word was
content-type: text/plain
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html