linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Ludwig Nussel <ludwig.nussel@suse.de>
Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	Jan Kara <jack@suse.cz> (maintainer:EXT2 FILE SYSTEM),
	Rob Landley <rob@landley.net> (maintainer:DOCUMENTATION),
	Andrew Morton <akpm@linux-foundation.org> (maintainer:EXT3 FILE
	SYSTEM),
	Andreas Dilger <adilger.kernel@dilger.ca> (maintainer:EXT3 FILE
	SYSTEM),
	"Theodore Ts'o" <tytso@mit.edu> (maintainer:EXT4 FILE SYSTEM),
	linux-ext4@vger.kernel.org (open list:EXT2 FILE SYSTEM),
	linux-doc@vger.kernel.org (open list:DOCUMENTATION)
Subject: Re: [PATCH 1/3] implement uid and gid mount options for ext2
Date: Thu, 2 Aug 2012 13:06:42 +0100	[thread overview]
Message-ID: <20120802130642.46b12c59@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <1343908443-17369-2-git-send-email-ludwig.nussel@suse.de>

> +uid=n[:m]			Make all files appear to belong to uid n.
> +				Useful for e.g. removable media with fstab
> +				options 'user,uid=useruid'. The optional second
> +				uid m is actually written to the file system.

So what happens if I insert a USB key containing a device node to the
hard disk ? Why is this functionality useful in the current form ?

(ie I think you need an actual rational security model first)


Also why is this at the per fs level duplicating stuff each time rather
than at the vfs level - this seems to be vfs level functionality.

> +
> +gid=n[:m]			Make all files appear to belong to gid n.
> +				The optional second gid m is actually written to
> +				the file system.

Your documentation seems only half completed ?

Alan

  reply	other threads:[~2012-08-02 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 11:54 [PATCH 0/3] implement uid and gid mount options for ext2, ext3 and ext4 Ludwig Nussel
2012-08-02 11:54 ` [PATCH 1/3] implement uid and gid mount options for ext2 Ludwig Nussel
2012-08-02 12:06   ` Alan Cox [this message]
2012-08-02 13:00     ` Eric W. Biederman
2012-08-02 11:54 ` [PATCH 2/3] implement uid and gid mount options for ext3 Ludwig Nussel
2012-08-02 11:54 ` [PATCH 3/3] implement uid and gid mount options for ext4 Ludwig Nussel
     [not found] <1336660924-9598-1-git-send-email-ludwig.nussel@suse.d>
2012-05-11 11:10 ` [PATCH resend split 0/3] implement uid and gid mount options for ext2, ext3 and ext4 Ludwig Nussel
2012-05-11 11:10   ` [PATCH 1/3] implement uid and gid mount options for ext2 Ludwig Nussel

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=20120802130642.46b12c59@pyramind.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=adilger.kernel@dilger.ca \
    --cc=akpm@linux-foundation.org \
    --cc=jack@suse.cz \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ludwig.nussel@suse.de \
    --cc=rob@landley.net \
    --cc=tytso@mit.edu \
    /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;
as well as URLs for NNTP newsgroup(s).