Mailinglist Archive: opensuse-bugs (12871 mails)

< Previous Next >
[Bug 462639] access permissions for scsi scanners missing
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 27 Jan 2009 08:37:16 -0700 (MST)
  • Message-id: <20090127153716.40729CC7CD@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=462639

User jsmeix@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=462639#c54





--- Comment #54 from Johannes Meixner <jsmeix@xxxxxxxxxx> 2009-01-27 08:37:12
MST ---
I did a complete reboot to be safe.

user@host$ hal-find-by-capability --capability scanner
/org/freedesktop/Hal/devices/pci_1022_2020_scsi_host_scsi_device_lun0_scsi_generic

user@host$ lshal -u
/org/freedesktop/Hal/devices/pci_1022_2020_scsi_host_scsi_device_lun0_scsi_generic
udi =
'/org/freedesktop/Hal/devices/pci_1022_2020_scsi_host_scsi_device_lun0_scsi_generic'
info.capabilities = {'scsi_generic', 'scanner'} (string list)
info.category = 'scsi_generic' (string)
info.parent =
'/org/freedesktop/Hal/devices/pci_1022_2020_scsi_host_scsi_device_lun0'
(string)
info.product = 'SCSI Generic Interface' (string)
info.subsystem = 'scsi_generic' (string)
info.udi =
'/org/freedesktop/Hal/devices/pci_1022_2020_scsi_host_scsi_device_lun0_scsi_generic'
(string)
linux.device_file = '/dev/sg6' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'scsi_generic' (string)
linux.sysfs_path =
'/sys/devices/pci0000:00/0000:00:1e.0/0000:02:0a.0/host3/target3:0:4/3:0:4:0/scsi_generic/sg6'
(string)
scsi_generic.device = '/dev/sg6' (string)

Nevertheless when I log in as normal user via KDM/XDM
"scanimage -L" does not show it but as root it does show it.

user@host$ ls -l /dev/sg6
crw-rw---- 1 root root 21, 6 2009-01-27 14:22 /dev/sg6

After a "chmod a+rw /dev/sg6" it works also for a normal user.

Because attachment #267956 looks as described in comment #44
and is in the right directory according to comment #48
it looks like an issue in HAL (or elsewhere but not in YaST).

--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >