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 <gentoo-user+bounces-138573-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1SXKyw-0005EF-Mu
	for garchives@archives.gentoo.org; Wed, 23 May 2012 23:28:42 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 40360E0950;
	Wed, 23 May 2012 23:28:26 +0000 (UTC)
Received: from ironport-out.teksavvy.com (ironport-out.teksavvy.com [206.248.143.162])
	by pigeon.gentoo.org (Postfix) with ESMTP id 81D7DE089F
	for <gentoo-user@lists.gentoo.org>; Wed, 23 May 2012 23:26:58 +0000 (UTC)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AgwKAG6Zu09sr+Ye/2dsb2JhbABEsnYDgRiBCIIVAQEEATocKAsLLQcSFCU3iAkFugmLCFqBOAyCPGIDjT6HXIVfiDqBWIMF
X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; 
   d="scan'208";a="182092239"
Received: from 108-175-230-30.dsl.teksavvy.com (HELO waltdnes.org) ([108.175.230.30])
  by ironport2-out.teksavvy.com with SMTP; 23 May 2012 19:26:57 -0400
Received: by waltdnes.org (sSMTP sendmail emulation); Wed, 23 May 2012 19:25:59 -0400
From: "Walter Dnes" <waltdnes@waltdnes.org>
Date: Wed, 23 May 2012 19:25:59 -0400
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OT: mount so that other users can write to mounted
 dir?
Message-ID: <20120523232559.GA6464@waltdnes.org>
References: <20120523002603.GA4469@waltdnes.org>
 <20120523024246.539347a1@khamul.example.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20120523024246.539347a1@khamul.example.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Archives-Salt: 11c66548-53ea-4def-af25-f626d7ae2ef7
X-Archives-Hash: f67102955673f2827ddfa77d43068d44

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>