Re: USB Drive weirdness

Bruce Kingsbury <[email protected]>
Newsgroups gmane.org.user-groups.linux.new-zealand.general
Message-ID <CANWgrUGUUUJGhStVT0A9aLnNvCJ3HvFGumc3-jB04tB25HM3RA@mail.gmail.com>
If you're using a filesystem that supports unix-style permissions then it'll
use those permissions. By default a new filesystem root directory is owned
by root and only root has permission to write to it. open a terminal and
'sudo chmod a+rwx -R /media/whatever' to make the root directory and
anything you already put into it writable by everyone (you should only have
to do this once, the change of permissions will be permanent)

Be aware that any files you create will be owned by your current user
though; if you have a different UID (eg another login one the same computer,
or someone else's computer that's not using the same UID) then you'll be
back to not having permission to change those files.

For any filesystem that doesn't support unix permissions (eg fat32 or ntfs),
gnome mounts the drive with all files owned by the current user.

On 12 October 2011 09:55, yuri <[email protected]> wrote:

> On 12 October 2011 09:48, Nevyn wrote:
> > 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.
>
> Looking forward to correction,
> Yuri de Groot
>
> _______________________________________________
> NZLUG mailing list [email protected]
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/nzlug
>
_______________________________________________
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.