Comment 59 for bug 1256591

Revision history for this message
In , Mike Bair (foresthillmike) wrote :

I have experienced this same problem since KDE-3.5 - not being able to view the camera in konqueror as a regular user but can view and edit the camera pictures when logged in a root and it has still become an issue with KDE-4.10.5 so it has still not been resolved as of KDE4.10 and Slackware14.1. I have solved it this way.

My original configuration was KDE-4.10.5, libgphoto 2.5.2. I installed the camera thru System Settings - Digital Camera as a "Nikon D50 PTP"

I then downloaded the latest libgphoto2-2.5.7 and edited "camlibs/ptp2/library.c" and changed the appropriate line for my camera - line 1054 as "Nikon:D50 ( PTP mode )" is changed to "Nikon:D50 PTP" so that this matches the KDE setting as close as possible and to reduce verbiage I changed line 2048 from "USB PTP Class Camera" to "USB PTP Camera".
Back to the top of the source tree
        ./configure --prefix=/usr --libdir=/usr/lib64
so that the output code will overlay the original installed library.
       make, become superuser, make install
I can now view the camera thru konqueror or dolphin as a regular user. This is still probably a permissions problem and KDE and the distributors are not setting permissions correctly