[Pkg-phototools-devel] Bug#620303: permission handling for PTP devices
Eduard Bloch
blade at debian.org
Thu Mar 31 21:41:06 UTC 2011
Package: libgphoto2-2
Version: 2.4.10.1-5
Severity: important
I just run into the permission problem with libphoto2-2, and I was
almost sure that I did not have this problem with the last versions.
I have read README.Debian.gz and had a look at 60-libgphoto2-2.rules and
now I think that something is really wrong with the concept. Or: why are
MODE and GROUP not part of the rules line for PTP devices, something
like: MODE="0664", GROUP="plugdev" ?
README.Debian.gz text is even more confusing. Since udev rule obviously
detects generic PTP devices, then the permissions should be set
right away. And if that is not the case then README.Debian should tell
more details, i.e. the REAL rationale behind this mess.
The current solution is not user-friendly. If there is secret knowledge
involved (requiring a decission from the user) then there might be a
debconf dialog or some other means of interaction.
And for the sake of completeness: my cam is a simple PTP device
(ID 04a9:31f7 Canon, Inc.).
Regards,
Eduard.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38 (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages libgphoto2-2 depends on:
ii adduser 3.112+nmu2 add and remove users and groups
ii libc6 2.11.2-13 Embedded GNU C Library: Shared lib
ii libexif12 0.6.19-1 library to parse EXIF files
ii libgphoto2-port0 2.4.10.1-5 gphoto2 digital camera port librar
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libltdl7 2.2.6b-2 A system independent dlopen wrappe
Versions of packages libgphoto2-2 recommends:
ii libgphoto2-l10n 2.4.10.1-5 gphoto2 digital camera library - l
ii udev 166-1 /dev/ and hotplug management daemo
Versions of packages libgphoto2-2 suggests:
ii gphoto2 2.4.10-2 The gphoto2 digital camera command
-- no debconf information
-- debsums errors found:
debsums: changed file /lib/udev/rules.d/60-libgphoto2-2.rules (from libgphoto2-2 package)
More information about the Pkg-phototools-devel
mailing list