public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark Knecht <markknecht@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] User can mount/umount but not write to top the new drive
Date: Mon, 9 Apr 2012 14:23:13 -0700	[thread overview]
Message-ID: <CAK2H+efwR7OfhV5PMwU-ppY8B5V7BvKupgZKQOymrhgm7+Vw6g@mail.gmail.com> (raw)
In-Reply-To: <20120409214802.0dd0ab43@digimed.co.uk>

On Mon, Apr 9, 2012 at 1:48 PM, Neil Bothwick <neil@digimed.co.uk> wrote:
> On Mon, 9 Apr 2012 12:59:31 -0700, Mark Knecht wrote:
>
>>    In the past I've gotten around this by having root mount the drive
>> and then change ownership to mark:users once it's mounted. Linux
>> remembers I've done that once and no longer requires me to do anything
>> else as root.
>
> That's right, the root of the filesystem is now owned by mark.
>
>>    Is that truly required or is there a way to give the user access to
>> the top of the new mount point without roots' involvement?
>
> Not with a Linux filesystem[1][2], because the filesystem is owned by
> root, so only root can change that.
>
> [1] This isn't strictly true as you can do it with ACLs, but that is far
> more complex than simply chowning the root of the filesystem if that is
> all you need.
>
> [2] With Windows filesystem, there are mount options to set the default
> ownership, but that is a workaround for the differences between Linux and
> Windows metadata.
>
>
> --
> Neil Bothwick
>
> TROI : What am I sensing?? I'm sensing INCOMPETENCE, you pretentious
> bald pseudo-French dickweed!

Thanks Neil. I guess that unless we figure out Canek's uid/gid options
I'll stick with chown, etc.

Cheers,
Mark



  reply	other threads:[~2012-04-09 21:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-09 19:59 [gentoo-user] User can mount/umount but not write to top the new drive Mark Knecht
2012-04-09 20:38 ` Canek Peláez Valdés
2012-04-09 21:22   ` Mark Knecht
2012-04-09 20:48 ` Neil Bothwick
2012-04-09 21:23   ` Mark Knecht [this message]
2012-04-09 21:39     ` Neil Bothwick
2012-04-09 21:42       ` Canek Peláez Valdés
2012-04-09 21:58       ` Mark Knecht
2012-04-09 22:45       ` Michael Mol
2012-04-10 11:18 ` Stroller
2012-04-10 11:55   ` Alan McKinnon

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=CAK2H+efwR7OfhV5PMwU-ppY8B5V7BvKupgZKQOymrhgm7+Vw6g@mail.gmail.com \
    --to=markknecht@gmail.com \
    --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