public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: vda <vda@port.imtp.ilyichevsk.odessa.ua>
To: linux-kernel@vger.kernel.org
Subject: Mount opts: make umask and friends valid for any fs
Date: Mon, 19 Nov 2001 16:28:23 +0000	[thread overview]
Message-ID: <01111916282302.00817@nemo> (raw)

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

                 reply	other threads:[~2001-11-19 14:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=01111916282302.00817@nemo \
    --to=vda@port.imtp.ilyichevsk.odessa.ua \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox