Summary: | hotplug does not set correct permissions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Marcin Kryczek (RETIRED) <mkay> |
Component: | [OLD] Core system | Assignee: | Greg Kroah-Hartman (RETIRED) <gregkh> |
Status: | VERIFIED NEEDINFO | ||
Severity: | normal | CC: | base-system, gentoo-bugs, rane |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Marcin Kryczek (RETIRED)
2005-04-02 04:29:01 UTC
What package provides this file? Similar problems here (w Canon Digital Ixus) the device can only be used by the root user. This script is provided by libgphoto2: # epm -qf /etc/hotplug/usb/usbcam libgphoto2-2.1.5 Permissions of the usb device (here /proc/bus/usb/001/011) are set to user only: -rw-r--r-- 1 root root 52 7. Mai 09:37 011 Also the lock files do not exist on my system. A bit of debugging clearly shows that therefore CONSOLEOWNER variable is always empty so the if statement is never entered and the device permissions will never be updated... (As workaround I added these two lines just after the if statement in /etc/hotplug/usb/camera a bit ugly but at least works...) ... fi chown ds:users "${DEVICE}" chmod 0640 "${DEVICE}" fi Not a hotplug package issue, closing. |