Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100235 Details for
Bug 131756
libusb-0.1.12 breaks scanning as non-root
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
usbcam
usbcam (text/plain), 1.26 KB, created by
Krzysztof Nowicki
on 2006-10-22 13:10:07 UTC
(
hide
)
Description:
usbcam
Filename:
MIME Type:
Creator:
Krzysztof Nowicki
Created:
2006-10-22 13:10:07 UTC
Size:
1.26 KB
patch
obsolete
>#!/bin/bash ># $Id: usbcam.group 6766 2003-09-16 16:42:44Z hun $ ># ># /etc/hotplug/usb/usbcam ># ># Sets up newly plugged in USB camera so that only members of the ># group > >GROUP=plugdev > ># 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. ># > >#echo "Action: ${ACTION}, device: ${DEVICE}, devpath: ${KERNEL}" >> /tmp/usbcam.log >#set >> /tmp/usbcam.log > >if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] >then > chmod o-rwx "${DEVICE}" > chgrp "${GROUP}" "${DEVICE}" > chmod g+rw "${DEVICE}" >fi > >if [ "${ACTION}" = "add" ] && [ -c "${DEVNAME}" ] >then > chmod o-rwx "${DEVNAME}" > chgrp "${GROUP}" "${DEVNAME}" > chmod g+rw "${DEVNAME}" >fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 131756
:
100235
|
100236