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 <[email protected]>

Reply via email to