External HDD auto-mounted as root

suvayu ali fatkasuvayu+linux at gmail.com
Sat Mar 26 04:47:23 UTC 2011


Hi Hiisi and JB,

On Fri, Mar 25, 2011 at 9:07 PM, JD <jd1008 at gmail.com> wrote:
> On 03/25/2011 08:37 PM, Suvayu Ali wrote:
>> Hi everyone,
>>
>> I just bought a 1TB WD Passport. It came formatted as NTFS, on plugging
>> it in, it auto-mounted as the regular user. But after I formatted it to
>> use ext4 (with gparted), it keeps getting auto-mounted as root both on
>> F13 and F14. Any ideas what I could do about this?
>>
> Udev is the daemon that associated a drive name in /dev
> with a physical drive. You have a choice of either using
> uuids or make udev rules for each drive.
>

I presume by uuids you mean put it in my fstab? And wouldn't udev rules
be machine specific too? Doesn't either of these defeat the purpose of
portable external drives? I would have to do this one all my current
systems, and all future systems I wish to use these drives with?

I was hoping there would be a more generic solution. I am surprised
since my USB flash drives are auto-mounted as regular user just fine.

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list