Johannes Meixner
2007-08-07 09:43:06 UTC
Hello,
right now I changed our Novell/Suse 55-hpmud.rules file from
SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0660"
to
SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0664"
(allow read permissions for HP USB device files for normal users).
Reason:
Without read permissions even a simple command like "lsusb" cannot
list HP USB devices to normal users which could cause unnecessary
confusion (e.g. when whatever GUI doesn't list HP USB devices).
But I wonder if such read permissions are sufficiently secure.
I assume they are because for retrieving data from the device
a matching request must be sent to the device which requires
write permissions.
On the other hand it might be possible that another normal user
can do eavesdropping while e.g. scanner data is sent from the
device to a user's scanning frontend.
I think that eavesdropping would be not possible if the hpmud
library opens the device file exclusively for its device I/O.
Therefore my questions:
Does the hpmud library open the device file exclusively or
is eavesdropping impossible because of whatever other reason?
Kind Regards
Johannes Meixner
right now I changed our Novell/Suse 55-hpmud.rules file from
SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0660"
to
SYSFS{idVendor}=="03f0", OWNER="root", GROUP="lp", MODE="0664"
(allow read permissions for HP USB device files for normal users).
Reason:
Without read permissions even a simple command like "lsusb" cannot
list HP USB devices to normal users which could cause unnecessary
confusion (e.g. when whatever GUI doesn't list HP USB devices).
But I wonder if such read permissions are sufficiently secure.
I assume they are because for retrieving data from the device
a matching request must be sent to the device which requires
write permissions.
On the other hand it might be possible that another normal user
can do eavesdropping while e.g. scanner data is sent from the
device to a user's scanning frontend.
I think that eavesdropping would be not possible if the hpmud
library opens the device file exclusively for its device I/O.
Therefore my questions:
Does the hpmud library open the device file exclusively or
is eavesdropping impossible because of whatever other reason?
Kind Regards
Johannes Meixner
--
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany
AG Nuernberg, HRB 16746, GF: Markus Rex
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/