From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SHM5d-0003az-P0 for garchives@archives.gentoo.org; Mon, 09 Apr 2012 21:25:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF4D5E0D68; Mon, 9 Apr 2012 21:25:15 +0000 (UTC) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by pigeon.gentoo.org (Postfix) with ESMTP id C3A46E0D0D for ; Mon, 9 Apr 2012 21:23:13 +0000 (UTC) Received: by vbbfc26 with SMTP id fc26so3248135vbb.40 for ; Mon, 09 Apr 2012 14:23:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=VAoSXs1v7q92IwWctLg8LBDT4Delrb+97aBA1Zp21rU=; b=yAtWjQlOY+0421qp93jwmSTt3FkmPqZq3MCCphVLhKIEabTfXpFUUtn83fLFOcjPoX K/yD++wF1UZI0Oe5ehecwXsRKAETQArJtcykoqWwJmGO70dP5I4nNHSv/LLqN8Bch47v nkTS2gV+XdmnYFloK3xY2F4ipKMYIewPp6DKDdD3WOKtdZwsgCCzqYPXwEwnt38/yoNl tZcY7SxoCQOtqyT5FctzR10wCNioeMznZY49SOju0YZh2lBnpOdnYWmaKE77jkGhRP0b MSBiv6ic9mqCs3qVFPm2KOJcVTESE7XxoYaLn5+UyccCHgMLj6FtZP7V3PyKeE5WB06B l7Kw== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.52.175.33 with SMTP id bx1mr3516224vdc.132.1334006593314; Mon, 09 Apr 2012 14:23:13 -0700 (PDT) Received: by 10.220.193.8 with HTTP; Mon, 9 Apr 2012 14:23:13 -0700 (PDT) In-Reply-To: <20120409214802.0dd0ab43@digimed.co.uk> References: <20120409214802.0dd0ab43@digimed.co.uk> Date: Mon, 9 Apr 2012 14:23:13 -0700 Message-ID: Subject: Re: [gentoo-user] User can mount/umount but not write to top the new drive From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 16efc426-f90e-47a1-aaea-2b2e817994a3 X-Archives-Hash: 39f20380d5e398342c346f17be7b67eb On Mon, Apr 9, 2012 at 1:48 PM, Neil Bothwick wrote: > On Mon, 9 Apr 2012 12:59:31 -0700, Mark Knecht wrote: > >> =C2=A0 =C2=A0In the past I've gotten around this by having root mount th= e 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. > >> =C2=A0 =C2=A0Is that truly required or is there a way to give the user a= ccess 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