LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Permissions accessing USB Digital Camera (https://www.linuxquestions.org/questions/slackware-14/permissions-accessing-usb-digital-camera-357488/)

edmundo_ba 08-27-2005 08:45 AM

Permissions accessing USB Digital Camera
 
I use (better said, I want to use) Digikam to download pictures from a Canon Digital Camera via USB.

It works great with root. For any other user (luser), digikam can't connect with the camera. So it has to be a problem with USB devices access rights.

Help?

Ed

SlackerLX 08-27-2005 08:58 AM

chmod 777 /dev/xxx
chmod 666 /dev/xxx - slightly danderous for security reasons

objorkum 08-27-2005 09:29 AM

Well, often it is better to become a member of a group than chmodding.

Where in /dev is your cam?

Check dmesg when connecting to it

Then to a:

ls -l /dev/xxx

And post it here

shepper 08-27-2005 10:05 AM

Setting USB permissions in Gphoto2

Edit: Slackware does not include PAM so I make a camera group and add myself to it. Then I use the usbcam.group script per the above directions.

fcaraballo 08-27-2005 12:29 PM

Create a group called 'camera' and add your user to it.
Then do the following:
Code:

/usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap
and make the owner of usbcam.usermap your user.
Code:

cp /usr/doc/libgphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam
and make usbcam executable.
DigiKam should now work for your user.

MagicMan

vipnox 11-01-2005 01:29 PM

ups - wrong quote. :)

vipnox 11-01-2005 01:32 PM

Quote:

Originally posted by shepper
Setting USB permissions in Gphoto2

Edit: Slackware does not include PAM so I make a camera group and add myself to it. Then I use the usbcam.group script per the above directions.



tnx man! you gave a link to a great guide.
there are practically 3 or 4 commands for all to work. really nice.


tnx again.

HF


All times are GMT -5. The time now is 11:20 AM.