Bug 8441 - USB permissions problem
Summary: USB permissions problem
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libgphoto2 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Vyacheslav Dikonov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-09 06:58 MSK by Alexandr Goncearenco
Modified: 2008-06-06 21:28 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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