[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: usbmount only mounts pendrive as "root:root"?



On 6/10/05, Jeronimo Pellegrini <pellegrini@mpcnet.com.br> wrote:
> Hello!
> 
> So, after swithing one box from Fedora to Debian
> Sarge, there's onw thing users would probably like, but I don't know
> how to do: Fedora will mount pendrives automatically for you, with the
> permissions of whoever is on the console. I tried usbmount, but it seems
> to always mount as root. After the pendrive is plugged, this is how
> /media looks like:
> 
> $ ll /media/
> total 44K
> lrwxrwxrwx  1 root adm     4 2005-06-09 22:30 usb -> usb0
> drwxr-xr-x  2 root root  16K 1969-12-31 21:00 usb0
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb1
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb2
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb3
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb4
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb5
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb6
> drwxr-xr-x  2 root adm  4.0K 2005-06-09 22:30 usb7
> 
> I had changed the group in *all* /media/usb* directories to adm, just
> to check if they'd go back to "root:root" when mounted, and indeed --
> they do.
> 
> So, is there a simple way to get the same behavior from Fedora in
> Sarge?

Add your user account to the plugdev group


-- 
Paolo Alexis Falcone
pfalcone@gmail.com



Reply to: