On Tue, 10 Apr 2012 12:18:38 +0100
Stroller <strol...@stellar.eclipse.co.uk> wrote:

> 
> On 9 April 2012, at 20:59, 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.
> > 
> >   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?
> 
> 
> I recall having exactly this problem years ago, and having had it
> explained to me here on this list.
> 
> I'm sure that if you *once* chmod / chown as root, then the
> permissions will be remembered correctly forever after. If you
> unmount and remount the drive, reboot the computer or whatever, the
> user will be able to write to the drive.
> 
> Do double & triple check this because, although I'm certainly
> fallible, I feel certain of this.
> 
> If I'm mistaken I guess you could do something involving udev
> mounting rules.
> 
> Note that if you use the same USB drive on different computers (or
> dual-boot different distros) then you have to be aware of user name
> vs. user ID number.
> 
> Stroller.
> 
> 

You are correct. 

chown the mount point and the top-level "." directory on the disk and
that is what is used in future.

Fancy software like udev and DEs may undo all of that work, but without
their input the above is what works.




-- 
Alan McKinnnon
alan.mckin...@gmail.com


Reply via email to