Bug 229230 - gphoto2 can stop manage permissions now
gphoto2 can stop manage permissions now
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gphoto2 (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
: EasyFix, Reopened
Depends On:
Blocks: FC7Blocker
  Show dependency treegraph
 
Reported: 2007-02-19 12:25 EST by David Zeuthen
Modified: 2013-07-02 19:19 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-02-21 06:19:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description David Zeuthen 2007-02-19 12:25:28 EST
We've moved ACL handling into HAL proper with hal-0.5.9-0.git20070218. So this
file and the associated binaries should be removed

 /usr/share/hal/fdi/policy/20thirdparty/90-gphoto-camera-policy.fdi

Thanks.
Comment 1 Jindrich Novy 2007-02-19 14:17:46 EST
Happily removed.
Comment 2 David Zeuthen 2007-02-19 14:29:11 EST
Thanks - but you removed a bit too much; this file

 /usr/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi

is still needed since it's used to classify USB interfaces as being cameras.
Without this HAL won't know the USB device is a camera. Thanks.
Comment 3 David Zeuthen 2007-02-19 14:30:22 EST
I meant

  /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2.fdi

of course.
Comment 4 Jindrich Novy 2007-02-21 06:19:26 EST
10-camera-libgphoto2.fdi is now added back.
Comment 5 Andreas Heik 2007-11-26 07:34:58 EST
Today, there are 2 problems with gphoto2 and acl-management in Fedora 8.

First, the hal-rule for "main usb devices" into
/usr/share/hal/fdi/policy/10osvendor/20-acl-management.fdi begin at line 61 will
not match.
My Device (Canon PowerShot S45) returns info.subsystem = 'usb_device'  (string).
Is the rule <match key="info.subsystem" contains="usb"> better at this line??

The second problem is the fdi-information file into gphoto2-package.
Checking for usb-bus works only with string="usb_device" or contains="usb". 
If the device has no key "usb.interface_class", all camara-rules will be
skipped. I think there is no need for skipping usb storage devices or we need a
better determination rule.
At least, the keys "usb.vendor_id", "usb.product_id" are changed to
"usb_device.vendor_id", "usb_device.product_id"

best regards, andreas

Note You need to log in before you can comment on or make changes to this bug.