Mount opts: make umask and friends valid for any fs

vda (vda@port.imtp.ilyichevsk.odessa.ua)
Mon, 19 Nov 2001 16:28:23 +0000


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/