I need different umasks for different nfs mounts and the mount page does
not give any help since nfs doesnt seem to have the umask option.
Any ideas on what I could do to acheive this ? BTW, I am running testing
/ unstable.
Best wishes,
Shri
--
------------------------------------------------------------------------
Shri Shrikumar U R Byte Solutions Tel: 0845 644 4745
I.T. Consultant Edinburgh, Scotland Mob: 0773 980 3499
Web: www.urbyte.com Email: sh...@urbyte.com
The umask is a per-process setting, not a per mount setting.
What are you trying to accomplish?
M
I have the following directory structure
~/
src/
shared/
What happens now is that wherever I create a file, its created with
-rw-rw---- permissions. What I would like is for all files in share to
be created with the permissions of -rw-rw-r--
man mount tells me that some filesystems support setting a umask for the
mount like hpfs, ntfs, and udf.
If not with mount, is there another way of accomplishing this ?
Thanks and best wishes,
There is a 'umask' mount option that's used for FAT filesystems because
they're too weak to support Unix-style permissions. It shouldn't be
necessary for NFS, though - just change the permissions on disk, surely?
--
Colin Watson [cjwa...@flatline.org.uk]
--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
> On Wed, 2003-09-24 at 15:05, Mark Ferlatte wrote:
>> The umask is a per-process setting, not a per mount setting.
>>
>> What are you trying to accomplish?
>
> I have the following directory structure
>
> ~/
> src/
> shared/
>
> What happens now is that wherever I create a file, its created with
> -rw-rw---- permissions. What I would like is for all files in share to be
> created with the permissions of -rw-rw-r--
>
Having the same problems here. Solved it by writing a script setperms.sh
that sets the correct permissions. This script can be called by a cron
job. Not a nice solution but I found no better.
Greetings
Andre
Yes, but its annoying because, each time a new file is create or cvs
commit is done, all the permissions reset based on the umask and I have
to run chmod again.
Anybody have any solutions for this cos I am very close to writing a
setperms cron job as suggested by Andre.