From: SourceForge.net <no...@so...> - 2007-01-24 20:55:05
|
Patches item #1643811, was opened at 2007-01-24 20:01 Message generated for change (Comment added) made by marcusmeissner You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308874&aid=1643811&group_id=8874 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Alon Bar-Lev (alonbl) Assigned to: Nobody/Anonymous (nobody) Summary: udev fixup Initial Comment: Hi! A simple udev fixup. Regards, --- diff -urNp libgphoto2-2.3.1.org/packaging/linux-hotplug/usbcam.group libgphoto2-2.3.1/packaging/linux-hotplug/usbcam.group --- libgphoto2-2.3.1.org/packaging/linux-hotplug/usbcam.group 2006-12-24 17:16:19.000000000 +0200 +++ libgphoto2-2.3.1/packaging/linux-hotplug/usbcam.group 2007-01-13 03:32:54.000000000 +0200 @@ -25,6 +25,8 @@ GROUP=camera # "usbcam" like this script. # +[ -z "${DEVICE}" ] && DEVICE="${DEVNAME}" + -if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] +if [ "${ACTION}" = "add" ] && [ -e "${DEVICE}" ] then chmod o-rwx "${DEVICE}" ---------------------------------------------------------------------- >Comment By: Marcus Meissner (marcusmeissner) Date: 2007-01-24 20:55 Message: Logged In: YES user_id=48092 Originator: NO udev does not need this script actually. you can use: print-camera-list udev-rules group camera to generate such a list that hands out group ownerships. Applied. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=308874&aid=1643811&group_id=8874 |