Hi,
1) I am unable to download pictures from my Canon Powershot A520 digital camera using digikam as a normal user.
2) Secondly, when I use digikam as root by doing sudo digikam, digikam crashes when I click "download selected" after "select new". (I hope I am making my self clear) Here is the output I get on konsole -
Quote:
aditya@Hostname:~$ sudo digikam
Error: "/var/tmp/kdecache-aditya" is owned by uid 1000 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
digikam: Album libray path set to /home/aditya/Pictures/digikam.db
digikam: ImagePlugin_Core plugin loaded
digikam: ImagePluginLoader: Loaded plugin ImagePlugin_Core
Error: "/tmp/ksocket-aditya" is owned by uid 1000 instead of uid 0.
Link points to "/tmp/ksocket-root"
kio_digikamthumbnail: *** Starting kio_digikamthumbnail
Error: "/var/tmp/kdecache-aditya" is owned by uid 1000 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
kio_digikamthumbnail: *** Starting kio_digikamthumbnail
Error: "/var/tmp/kdecache-aditya" is owned by uid 1000 instead of uid 0.
Link points to "/var/tmp/kdecache-root"
digikam: listing file:///home/aditya/Pictures/2006, May, 19
Killed
aditya@Hostname:~$ kio_digikamthumbnail: *** kio_digikamthumbnail Done
kio_digikamthumbnail: *** kio_digikamthumbnail Done
|
1000 is my user uid and 0 ofcourse is root uid.
Here is the listing of /etc/hotplug/usb/usbcam
Quote:
#!/bin/bash
# $Id: usbcam.group,v 1.3 2003/09/16 16:42:44 hun Exp $
#
# /etc/hotplug/usb/usbcam
#
# Sets up newly plugged in USB camera so that only members of the
# group
GROUP=camera
# can access it from user space. (Replace camera with the name of the
# group you want to have access to the cameras.)
#
# Note that for this script to work, you'll need all of the following:
# a) a line in the file /etc/hotplug/usermap that corresponds to the
# camera you are using. You can get the correct lines for all cameras
# supported by libgphoto2 by running "print-usb-usermap".
# b) a group "camera" where all users allowed access to the
# camera are listed
# c) a Linux kernel supporting hotplug and usbdevfs
# d) the hotplug package (http://linux-hotplug.sourceforge.net/)
#
# In the usermap file, the first field "usb module" should be named
# "usbcam" like this script.
#
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod o-rwx "${DEVICE}"
chgrp "${GROUP}" "${DEVICE}"
chmod g+rw "${DEVICE}"
fi
|
My user (aditya) is added to the group "camera".
The camera is detected correctly and I can save the pictures by clicking on them in the picture list that comes up when I select my camera from the camera menu in digikam. When the required is displayed I can save it from File -> Save.
Eagerly awaiting replies.