[Novalug] [Off-list] Re: USB as non-root

Bryan J Smith b.j.smith@ieee.org
Thu Nov 26 06:16:14 EST 2009


If you formatted the device as Ext3 then it will have root by default,
of course. Change the permissions with chmod to 1777 so anyone
can read/write their own files.
If it is FAT, then it should inherit the permissions of the console,
which means the user logged in to X.  ;)

If you put it into /etc/fstab, then that's the _problem_.  Kernel
2.6 has HAL, udev, etc... that auto-magically mounts. If you put
the device in /etc/fstab, then it _overrides_ such, and that's
why you have issues.  ;)

------Original Message------
From: Miguel González Castaños
To: Bryan J Smith
Cc: Wei Wu Wei
Cc: novalug@calypso2.tux.org
Sent: Nov 26, 2009 06:09
Subject: Re: [Off-list] Re: [Novalug] USB as non-root

Bryan J Smith wrote:
> On Wed, 2009-11-25 at 22:36 +0100, Miguel González Castaños wrote:
>   
>> Flexibility is great. However I'm talking about desktops, user accounts. 
>> No server related stuff like SAN.
>>     
>
> But there's more to it than just that, which is my point.  You can do
> all sorts of stuff with how the USB is presented.
>
>   
>> Honestly it shouldn't be so cumbersome something as "easy" as mounting
>> an external USB drive as non-root user...
>>     
>
> Wait, I'm confused ...
>
> Why doesn't your "external USB" show up on the user's desktop when you
> plug it in?  The HAL, udev and GNOME-VFS systems should work together to
> already do that automagically.
It shows up but with root permissions. That's the main issue. We don't 
know if it's a bug or what's going on.

Miguel


--  
Bryan J Smith - mailto:b.j.smith@ieee.org  
http://www.linkedin.com/in/bjsmith
Sent via BlackBerry from T-Mobile  
    


More information about the Novalug mailing list