Pbs of disk access

Luciano Miguel Ferreira Rocha strange at nsk.no-ip.org
Wed Jun 23 23:39:39 UTC 2004


On Wed, Jun 23, 2004 at 10:07:21PM +0100, D. D. Brierton wrote:
> On Wed, 2004-06-23 at 20:09, Alexander Dalloz wrote:
> 
> > "umask=002" to allow write permission everyone
> 
> Does anyone know if there is a umask which would leave directories "x"
> for user and group but not ordinary files? I currently use
> 
> users,gid=users,umask=007
> 
> in /etc/fstab for a couple of vfat partitions that I want access to, but
> it is (only a very slight) annoyance that that also makes files have
> permissions -rwxrwx--- whereas I would prefer that for directories and
> have only -rw-rw---- for ordinary files.
> 
> Any suggestions?

Yes, kernel series 2.6 support separate specification of directory and
file masks. dmask and fmask, if I recall correctly.

Regards,
Luciano Rocha





More information about the fedora-list mailing list