You are not logged in.
Pages: 1
Hey all. Complete newbie to Arch here.
I've always been 'spoon fed' things just working by using Ubuntu and Mint but thought I'd give Arch a whirl. It's been a learning process that's for sure!
What I'm running into is trying to use a sym link to a USB hard drive to my 'Pictures' folder and have Shotwell import photos to that.
When I run Shotwell from a prompt as myself, I get the following:
libusb couldn't open USB device /dev/bus/usb/001/009: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/001/008: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/003/002: Permission denied.
libusb requires write access to USB device nodes.
If I run it as root or sudo it, there are no problems and it can work just fine.
Shotwell can read the existing photos that are on the drive but cannot write to it.
I did add my user account to storage and camera thinking that may help but it did not.
Any help would be greatly appreciated!
Last edited by DruKe (2011-07-11 14:19:49)
Offline
did you mount the usb drive using root account?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
They appear to be being mounted automatically as root, yes.
/dev/bus/usb
$ ls -la
total 0
drwxr-xr-x 7 root root 140 Jul 6 08:39 .
drwxr-xr-x 3 root root 60 Jul 6 08:39 ..
drwxr-xr-x 2 root root 160 Jul 6 08:45 001
drwxr-xr-x 2 root root 60 Jul 6 08:39 002
drwxr-xr-x 2 root root 80 Jul 6 08:39 003
drwxr-xr-x 2 root root 80 Jul 6 08:39 004
drwxr-xr-x 2 root root 60 Jul 6 08:39 005
Offline
Mount it in such a way so Shotwell will have write access: 'drwxr-xr-x' gives it to just the owner (root).
Offline
I guess to be more specific then, how do I automatically mount USB devices (other hard drives, USB flash drives, iPod) so that I do not need to change the permissions each time?
Offline
I guess to be more specific then, how do I automatically mount USB devices (other hard drives, USB flash drives, iPod) so that I do not need to change the permissions each time?
First change the permissions by hand to make sure it works for user.
How do you (auto)mount it now?
Offline
Thanks for hanging with my karol! I did a:
/dev/bus/usb/001/
sudo chown root.storage ./009
Fired up Shotwell and it imported just fine.
So now that I know change the group to storage works, is there a way I can get all USB mass storage devices to mount as root.storage?
And right now, all I do is simply plug it in. I do not mount it manually at all.
Offline
And right now, all I do is simply plug it in. I do not mount it manually at all.
But something does that for you. What DE / WM are you using?
I don't use automounting so I may not be able to help you here.
Offline
I'm using Gnome 3 and Mutter.
Offline
Anyone else have any ideas for me?
Offline
Not an idea, but I have a correction for you:
They appear to be being mounted automatically as root, yes.
/dev/bus/usb $ ls -la total 0 drwxr-xr-x 7 root root 140 Jul 6 08:39 . drwxr-xr-x 3 root root 60 Jul 6 08:39 .. drwxr-xr-x 2 root root 160 Jul 6 08:45 001 drwxr-xr-x 2 root root 60 Jul 6 08:39 002 drwxr-xr-x 2 root root 80 Jul 6 08:39 003 drwxr-xr-x 2 root root 80 Jul 6 08:39 004 drwxr-xr-x 2 root root 60 Jul 6 08:39 005
These nodes have nothing to do with whether your devices are mounted or not. The 'mount' command will show you what's mounted where - removable devices are typically mounted under /media, but your configuration may differ.
Offline
Isn't it a libgphoto2 problem? Try this solution: https://wiki.archlinux.org/index.php/Gphoto2#Libgphoto2.
Offline
These nodes have nothing to do with whether your devices are mounted or not. The 'mount' command will show you what's mounted where - removable devices are typically mounted under /media, but your configuration may differ.
You caught me! Those are the USB root hubs yes, but the devices listed under the root hubs have the same permissions, those are the ones I had changed in earlier posts and it worked then. The USB hard disk mounted in media does have myuser.users listed as the owner.. So that would seem to be proper yes?
Isn't it a libgphoto2 problem? Try this solution: https://wiki.archlinux.org/index.php/Gphoto2#Libgphoto2.
I did try this earlier as well but I don't think it really applied as I'm not even using a camera in this case..I was importing from a folder on my desktop. Thanks though!
Offline
Well, not sure what fixed it but it is functioning now.
I did install the package pmount so that may have done it as well.
Thanks to all who helped out!
Offline
Pages: 1