Bug 8441

Summary: USB permissions problem
Product: Sisyphus Reporter: Alexandr Goncearenco <neksa>
Component: libgphoto2Assignee: Vyacheslav Dikonov <slava>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P2 CC: jinn, ldv
Version: unstable   
Hardware: all   
OS: Linux   

Description Alexandr Goncearenco 2005-11-09 06:58:09 MSK
Broken permissions for usb devices in /proc make digikam and gphoto2 unusable in
PTP/Serial mode, when no mounting required. 

It seems like recent changes in pam0_console (pam0_console-0.99.1.0-alt3
installed) lead to failure of console owner detection in /etc/hotplug/usb/usbcam

lock file /var/run/console.lock was moved to /var/run/console/console.lock.

I have added this condition to /etc/hotplug/usb/usbcam to solve the problem:
-------
    if [ -f /var/run/console/console.lock ]
    then
        CONSOLEOWNER=`cat /var/run/console/console.lock`
-------

/usr/share/doc/libgphoto2-2.1.5/usbcam.console has to be changed also!
Comment 1 Dmitriy Khanzhin 2007-01-18 07:35:23 MSK
Fixed in upstream