public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Walter Dnes" <waltdnes@waltdnes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: mount so that other users can write to mounted dir?
Date: Wed, 23 May 2012 19:25:59 -0400	[thread overview]
Message-ID: <20120523232559.GA6464@waltdnes.org> (raw)
In-Reply-To: <20120523024246.539347a1@khamul.example.com>

On Wed, May 23, 2012 at 02:42:46AM +0200, Alan McKinnon wrote

> What filesystem is on that stick?
> 
> For vfat and ntfs what you are truing should work.  For Unix file
> systems (ext*, reiser, etc), it will not work. You cannot override
> owners and permissions with the mount command on those.

  Thanks.  That approach won't work in the general case.  I'll probably
have to change the command in my "mdev rules" to something like...

sudo -u waltdnes pmount blah blah blah

...where "waltdnes" is my regular user account.  That'll also allow me
to unmount it with the pumount command from my regular account.

  In the case of my backups to an external USB drive, I have to be root
anyways, so I'll just...

* plug in the external drive
* unmount it after the automount
* remount it manually as root

...and proceed from there.

-- 
Walter Dnes <waltdnes@waltdnes.org>



  reply	other threads:[~2012-05-23 23:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-23  0:26 [gentoo-user] OT: mount so that other users can write to mounted dir? Walter Dnes
2012-05-23  0:42 ` Alan McKinnon
2012-05-23 23:25   ` Walter Dnes [this message]
2012-05-24  7:41   ` Walter Dnes

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=20120523232559.GA6464@waltdnes.org \
    --to=waltdnes@waltdnes.org \
    --cc=gentoo-user@lists.gentoo.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