From: Jan Kara <jack@suse.cz>
To: Marcin Slusarz <marcin.slusarz@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] udf: implement mode and dmode mounting options
Date: Wed, 19 Nov 2008 20:13:38 +0100 [thread overview]
Message-ID: <20081119191338.GD29820@duck.suse.cz> (raw)
In-Reply-To: <20081119181427.GA29507@joi>
On Wed 19-11-08 19:14:57, Marcin Slusarz wrote:
> On Wed, Nov 19, 2008 at 04:16:06PM +0100, Jan Kara wrote:
> > On Tue 18-11-08 16:22:05, Andrew Morton wrote:
> > > On Sun, 16 Nov 2008 20:52:19 +0100
> > > Marcin Slusarz <marcin.slusarz@gmail.com> wrote:
> > >
> > > > "dmode" allows overriding permissions of directories and
> > > > "mode" allows overriding permissions of files.
> > > >
> > > > Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
> > > > Cc: Jan Kara <jack@suse.cz>
> > > > ---
> > > > Documentation/filesystems/udf.txt | 2 ++
> > > > fs/udf/inode.c | 11 +++++++++--
> > > > fs/udf/super.c | 31 ++++++++++++++++++++++++++++++-
> > > > fs/udf/udf_sb.h | 2 ++
> > > > 4 files changed, 43 insertions(+), 3 deletions(-)
> > > >
> > > > diff --git a/Documentation/filesystems/udf.txt b/Documentation/filesystems/udf.txt
> > > > index fde829a..902b95d 100644
> > > > --- a/Documentation/filesystems/udf.txt
> > > > +++ b/Documentation/filesystems/udf.txt
> > > > @@ -24,6 +24,8 @@ The following mount options are supported:
> > > >
> > > > gid= Set the default group.
> > > > umask= Set the default umask.
> > > > + mode= Set the default file permissions.
> > > > + dmode= Set the default directory permissions.
> > >
> > > Can we give these the same names and usage as their fatfs equivalents?
> > Yes, making these options dmask and fmask would be more consistent I
> > think. Martin?
>
> You can't add permissions by umask/fmask/dmask. I have one DVD with top
> level dir permissions set to 0000 and there's no way to read it now (as
> an user) and adding mask options wouldn't change it.
>
> I should mention in a changelog that the names and semantics of these
> options are copied from isofs.
>
> I can create a second patch which adds mask options but I think modes are
> needed too. What do you think?
Ah, ok. That makes sence (although such DVD's seem to be really broken).
I'll merge the patch.
Honza
--
Jan Kara <jack@suse.cz>
SUSE Labs, CR
prev parent reply other threads:[~2008-11-19 19:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-16 19:52 Marcin Slusarz
2008-11-19 0:22 ` Andrew Morton
2008-11-19 15:16 ` Jan Kara
2008-11-19 18:14 ` Marcin Slusarz
2008-11-19 19:13 ` Jan Kara [this message]
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=20081119191338.GD29820@duck.suse.cz \
--to=jack@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcin.slusarz@gmail.com \
/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
all inboxes | Powered by JetHome®