Re: USB Drive weirdness

Jaco <[email protected]>
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Organization Workshop Enterprises Ltd.
Message-ID <[email protected]>
>> Hi everyone,
>>
>> Running Ubuntu 10.04 - I have a 2TB usb drive. When I plug it in, it mounts
>> it in /media and brings up a nautilus window. Cool... only.... it seems to
>> mount it as root. Plug in a usb stick (4GB) and it mounts it as myself...
>>
>> Does anyone know why it has this particular inconsistency this and how to
>> customise it? I'm assuming this is a function of Gnome given that it doesn't
>> happen if logged into the terminal...
> Okay, I'm going to make a wild guess.
> My theory is - if the filesystem on the removable media does not
> support unix-style permissions, it gets mounted as user. Otherwise it
> gets mounted as root.

If I'm not mistaken, the udev daemon (config @ /etc/udev/*) deals with 
the mounting conditions of dynamic nodes - that might be a place to 
start looking for answers.
If you want to fix the mountpoint, make use of the /dev/disk/by-uuid/* 
values in fstab with "rw, noauto, user" options - it's a hack but should 
work

- J

_______________________________________________
NZLUG mailing list [email protected]
http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.