public inbox for util-linux@vger.kernel.org
 help / color / mirror / Atom feed
From: Benno Schulenberg <bensberg@justemail.net>
To: Karel Zak <kzak@redhat.com>
Cc: "Util-Linux" <util-linux@vger.kernel.org>
Subject: Re: mount: what is the point of 'nouser' on the command line?
Date: Mon, 14 Jul 2014 17:24:27 +0200	[thread overview]
Message-ID: <1405351467.26224.141460601.7C1F0818@webmail.messagingengine.com> (raw)
In-Reply-To: <20140714145759.GM30288@x2.net.home>


On Mon, Jul 14, 2014, at 16:57, Karel Zak wrote:
>  The "user" option is alias to "noexec,nosuid,nodev" mount flags. 

Ehm...  Not quite.  It *implies* those options, to lightly protect
the user from some dangers, but its main purpose is to allow
ordinary users to mount the filesystem so marked in fstab.  No?

> > So, is it ever useful to specify '-o nouser' on the command line?
> 
>  No, it would be better to remove it from the example

Will submit a patch later.


> > Something else.  On the man page of umount, shouldn't it say that
> > the -O and -t options are only effective in combination with -a?
> 
>  The -t is generic and it's usable in more case (for example to
>  specify filesystem that should be tried for the device).

Ehm...  I was talking about umount here, not mount.  :)

Benno

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service

  reply	other threads:[~2014-07-14 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-14  9:57 mount: what is the point of 'nouser' on the command line? Benno Schulenberg
2014-07-14 14:57 ` Karel Zak
2014-07-14 15:24   ` Benno Schulenberg [this message]
2014-07-15  8:02     ` Karel Zak
2014-07-15  9:02       ` umount: --types does not limit Benno Schulenberg
2014-07-15  9:56         ` Karel Zak

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=1405351467.26224.141460601.7C1F0818@webmail.messagingengine.com \
    --to=bensberg@justemail.net \
    --cc=kzak@redhat.com \
    --cc=util-linux@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