Hi all,
I just got hit by few days back, got time and was able to track it down :-

Before insertion of the external hdd

[$] ls -la /media

total 48
drwxr-xr-x  12 root root 4096 Jun  7 11:34 .
drwxr-xr-x  25 root root 4096 Jun  6 21:51 ..
lrwxrwxrwx   1 root root    6 Jul 25  2013 cdrom -> cdrom0
drwxr-xr-x   2 root root 4096 Jul 25  2013 cdrom0
drwxr-x---+  3 root root 4096 Jun  6 11:15 shirish
lrwxrwxrwx   1 root root    4 Jun  7 11:34 usb -> usb0
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb0
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb1
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb2
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb3
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb4
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb5
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb6
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb7

After insertion of the external hdd :-

[$] ls -la /media

ls: cannot access /media/usb0: Transport endpoint is not connected
total 44
drwxr-xr-x  12 root root 4096 Jun  7 11:34 .
drwxr-xr-x  25 root root 4096 Jun  6 21:51 ..
lrwxrwxrwx   1 root root    6 Jul 25  2013 cdrom -> cdrom0
drwxr-xr-x   2 root root 4096 Jul 25  2013 cdrom0
drwxr-x---+  3 root root 4096 Jun  6 11:15 shirish
lrwxrwxrwx   1 root root    4 Jun  7 11:34 usb -> usb0
d??????????  ? ?    ?       ?            ? usb0
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb1
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb2
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb3
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb4
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb5
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb6
drwxr-xr-x   2 root root 4096 Jun  7 11:34 usb7

I did two changes in the usbmount.conf file.

[$] cat /etc/usbmount/usbmount.conf | grep fuseblk
FILESYSTEMS="vfat ext2 ext3 ext4 hfsplus ntfs fuseblk"

probably ntfs wasn't necessary but don't know hence keeping it there
till somebody tells me otherwise.

[$] cat /etc/usbmount/usbmount.conf | grep VERBOSE
VERBOSE=yes

I do  not understand if the following error is because of usbmount or
some other package.

[$] usbhid-dump

libusb: error [_get_usbfs_fd] libusb couldn't open USB device
/dev/bus/usb/005/007: Permission denied
libusb: error [_get_usbfs_fd] libusb requires write access to USB device nodes.
Failed to find and open the devices: Access denied (insufficient
permissions) (ERROR_ACCESS)

I did read the last message as well, what does that mean ? I have both
usbdisk2 as well as usbmount.

Would removing/purging usbmount bring back the how external  hdd
automount or does it go deeper ?

Also I have both usbmount as well as udisks2 installed. Could that be
an issue? usbmount can easily be purged , usbdisks2 takes another few
softwares with it


Look forward to knowing what is best to do in the current situation
till the above issue is resolved to everyone's interests .

I did a post of the same at
http://forums.debian.net/viewtopic.php?f=5&t=122679 and a user kiyop
did share a workaround I knew but was not remembering the switches for
it (basically manually mounting it as root).

It does have the disadvantage that it doesn't show up in nautilus
unless you open nautilus as root ( know it's a bad bad idea) so have
to severe connection to the net when doing that way.

-- 
          Regards,
          Shirish Agarwal  शिरीष अग्रवाल
  My quotes in this email licensed under CC 3.0
http://creativecommons.org/licenses/by-nc/3.0/
http://flossexperiences.wordpress.com
EB80 462B 08E1 A0DE A73A  2C2F 9F3D C7A4 E1C4 D2D8


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to