Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: envbvs@epb2.lbl.gov (Brian V. Smith)
Subject: group file permissions across NFS under Ultrix 3.0
Date: 14 May 89 16:52:21 GMT	[thread overview]
Message-ID: <2644@helios.ee.lbl.gov> (raw)

Original problem:

>From article <2597@helios.ee.lbl.gov>, by envbvs@epb2.lbl.gov (Brian V. Smith):
>> remotely mounted file system.  In Ultrix 2.3 (and previous) the umask
> was used in determining the permissions when creating a file, but 
>> Ultrix 3.0 is ignoring it.
>> 

Here is a workaround provided by Jan Sanislo from washington.edu:

>I belive the problem stems from the fact that the default
>file creation mask (CMASK in sys/param.h) has been changed
>from 0 in 2.X to 022 in 3.0.  The nfs daemons (/etc/nfsd) on
>the server inherit this mask when they are started.  The
>protection modes of files created over the wire are &'d with
>~CMASK in the usual way.  It is thus impossible to enhance
>write permissions via a umask on the remote node (although
>it is possible to restrict them (e.g., umask 66).
>
>You should be able to cure the problem by saying "umask 0"
>before starting up /etc/nfsd in /etc/rc.local.  

This works. In other words:

(in /etc/rc.local)
	...
	umask 0
	/etc/nfsd 4
	...
_____________________________________
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
We don't need no signatures!


                 reply	other threads:[~1989-05-14 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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