public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Mount opts: make umask and friends valid for any fs
@ 2001-11-19 16:28 vda
  0 siblings, 0 replies; only message in thread
From: vda @ 2001-11-19 16:28 UTC (permalink / raw)
  To: linux-kernel

Currently some fs support umask=NNN mount opt to indicate which mode bits to 
clear for all files/dirs (mostly those which don't have support for mode: 
vfat etc). Some also have fmask/dmask (smbfs).

Would it be useful to make those a generic mount opts applicable to any fs:
u[f]mask=NNN: bits to clear for files and dirs
udmask=NNN: bits to clear for dirs (overrides umask)
[f]mask=NNN: bits to set for files and dirs
dmask=NNN: bits to set for dirs (overrides fmask)

Note: this mess with file/dir separation is due to historical
'x bit for dirs' (mis)feature
--
vda

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-11-19 14:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-19 16:28 Mount opts: make umask and friends valid for any fs vda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox