Re: usbmount only mounts pendrive as root:root?
On Thu, Jun 09, 2005 at 11:23:34PM -0300, Jeronimo Pellegrini wrote: permissions of whoever is on the console. I tried usbmount, but it I'm pretty sure pmount obsoleted usbmount on Sarge. pmount will work, provided the user is in the plugdev group. -- Re-Interpreting Historic Miracles with SED #141: %s/water/wine/g -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
usbmount only mounts pendrive as root:root?
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? Thanks a lot! J. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: usbmount only mounts pendrive as root:root?
On 6/10/05, Jeronimo Pellegrini [EMAIL PROTECTED] 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 [EMAIL PROTECTED]