Your message dated Wed, 23 Feb 2011 20:42:31 +0100
with message-id <[email protected]>
and subject line Re: Bug#614836: device files created with wrong permission
has caused the Debian Bug report #614836,
regarding device files created with wrong permission
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
614836: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614836
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsane
Version: 1.0.22-1
Severity: important
if ACLs are not enabled in the kernel setfacl fails with 'Operation not
supported' and the permission is not changed for the device file. a
better approach would be to use chgrp and chmod on the device file,
i.e. replace RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" in
/lib/udev/rules.d/60-libsane.rules with the appropriate calls to chgrp
and chmod.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.38-rc6 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages libsane depends on:
ii acl 2.2.49-4 Access control list utilities
ii adduser 3.112+nmu2 add and remove users and groups
ii libavahi-client3 0.6.28-3 Avahi client library
ii libavahi-common3 0.6.28-3 Avahi common library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libexif12 0.6.19-1 library to parse EXIF files
ii libgphoto2-2 2.4.6-3 gphoto2 digital camera library
ii libgphoto2-port0 2.4.6-3 gphoto2 digital camera port librar
ii libieee1284-3 0.2.11-6 cross-platform library for paralle
ii libjpeg62 6b1-1 The Independent JPEG Group's JPEG
ii libtiff4 3.9.4-5 Tag Image File Format (TIFF) libra
ii libusb-0.1-4 2:0.1.12-17 userspace USB programming library
ii libv4l-0 0.8.3-1 Collection of video4linux support
ii makedev 2.3.1-89 creates device files in /dev
ii udev 166-1 /dev/ and hotplug management daemo
Versions of packages libsane recommends:
ii libsane-extras 1.0.22.1 API library for scanners -- extra
ii sane-utils 1.0.22-1 API library for scanners -- utilit
Versions of packages libsane suggests:
ii avahi-daemon 0.6.28-3 Avahi mDNS/DNS-SD daemon
ii hplip 3.11.1-2 HP Linux Printing and Imaging Syst
pn hpoj <none> (no description available)
-- Configuration Files:
/etc/sane.d/snapscan.conf changed:
firmware "/usr/share/sane/snapscan/SnapScan 1212U_2.bin"
/proc/bus/usb/002/002 bus=usb
scsi AGFA * Scanner
scsi COLOR * Scanner
scsi Color * Scanner
scsi ACERPERI * Scanner
usb 0x04a5 0x1a20
usb 0x04a5 0x1a26
usb 0x04a5 0x2022
usb 0x04a5 0x1a2a
usb 0x04a5 0x2040
usb 0x04a5 0x2060
usb 0x04a5 0x207e
usb 0x04a5 0x20be
usb 0x04a5 0x20c0
usb 0x04a5 0x20b0
usb 0x04a5 0x20de
usb 0x04a5 0x20f8
usb 0x04a5 0x20fc
usb 0x04a5 0x20fe
usb 0x04a5 0x2137
usb 0x06bd 0x0002
usb 0x06bd 0x0001
usb 0x06bd 0x2061
usb 0x06bd 0x2093
usb 0x06bd 0x2091
usb 0x06bd 0x2095
usb 0x06bd 0x2097
usb 0x06bd 0x208d
usb 0x06bd 0x20ff
usb 0x06bd 0x208f
usb 0x06bd 0x20fd
usb 0x04b8 0x0114
usb 0x04b8 0x011f
usb 0x04b8 0x0121
usb 0x04b8 0x0122
usb 0x04b8 0x080c
-- no debconf information
--- End Message ---
--- Begin Message ---
Alex Romosan <[email protected]> wrote:
Hi,
> if ACLs are not enabled in the kernel setfacl fails with 'Operation not
> supported' and the permission is not changed for the device file. a
ACL are required, and that's all. ConsoleKit already requires ACL
support and the standard Debian kernel has ACL enabled. If you don't use
the standard kernel, now would be a good time to review your custom
kernel configuration.
> better approach would be to use chgrp and chmod on the device file,
> i.e. replace RUN+="/bin/setfacl -m g:scanner:rw $env{DEVNAME}" in
> /lib/udev/rules.d/60-libsane.rules with the appropriate calls to chgrp
> and chmod.
No, it's not a better approach. The change is intentional and fixes real
issues. See the changelog and the associated bug reports.
JB.
--
Julien BLACHE - Debian & GNU/Linux Developer - <[email protected]>
Public key available on <http://www.jblache.org> - KeyID: F5D6 5169
GPG Fingerprint : 935A 79F1 C8B3 3521 FD62 7CC7 CD61 4FD7 F5D6 5169
--- End Message ---