[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Pbs of disk access



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]