[Bug 246176] New: Parallel Port needs root-access-rights
https://bugzilla.novell.com/show_bug.cgi?id=246176 Summary: Parallel Port needs root-access-rights Product: openSUSE 10.2 Version: Final Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: bewoern@gmx.de QAContact: qa@suse.de I have a scanner connected to the parallel port. This scanner uses the mustek_pp device. In this configuration file, the scanner is configured with: "scanner MD9890 parport0 cis1200". With user "root", the scanner works. But with normal user, xsane shows the following error: "Keine Geräte erreichbar" (German). If you need more information, let me know. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bewoern@gmx.de ------- Comment #1 from mhorvath@novell.com 2007-02-16 05:45 MST ------- Please run 'ls -l /dev/lp*' and 'groups' (as user) and post it's output. There should be a group 'lp' and if so, you should be a member of this group. How have you configured this device? Using yast or by hand? If using yast, please attach also your yast logs. http://en.opensuse.org/Bugs/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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 ------- Comment #2 from bewoern@gmx.de 2007-02-17 09:09 MST ------- The command "ls -l /dev/lp*" shows the following: crw-rw---- 1 root lp 6, 0 17. Feb 2007 /dev/lp0 The command "groups" shows the following: users lp dialout video The commands above are executed with the normal user account. The device is configured manually as described in the description of this bugreport. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 bewoern@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|bewoern@gmx.de | ------- Comment #3 from bewoern@gmx.de 2007-02-21 11:02 MST ------- Ooops; i forgot to change the bug status from NEEDINFO to ASSIGNED. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |bewoern@gmx.de ------- Comment #4 from mhorvath@novell.com 2007-02-23 06:42 MST ------- Try to add SUBSYSTEM=="ppdev", GROUP="lp" to /etc/udev/rules.d/50-udev-default.rules and retest it. After loading module ppdev (at boot, or manually 'modprobe ppdev') the device /dev/parport0 should be created and it should belong to group 'lp' and the group should be able to write and read this device, so if your user is in the group 'lp', it should work. Please report if you are successful with it. The NEEDINFO status was ok, as a bug reporter you don't have to change it's status. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 bewoern@gmx.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|bewoern@gmx.de | ------- Comment #5 from bewoern@gmx.de 2007-02-24 07:55 MST ------- The line SUBSYSTEM=="ppdev", GROUP="lp" was added to /etc/udev/rules.d/50-udev-default.rules But: xsane shows the following message again: "Keine Geräte erreichbar" With user root, the scanner works. The original and the modified file is in the attachement. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 ------- Comment #6 from bewoern@gmx.de 2007-02-24 07:58 MST ------- Created an attachment (id=120929) --> (https://bugzilla.novell.com/attachment.cgi?id=120929&action=view) Here, the original file -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 ------- Comment #7 from bewoern@gmx.de 2007-02-24 07:59 MST ------- Created an attachment (id=120930) --> (https://bugzilla.novell.com/attachment.cgi?id=120930&action=view) And here the modified file After changing this file, a reboot was done -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 ------- Comment #8 from bewoern@gmx.de 2007-02-24 08:03 MST ------- I don't know, if this is important, but: the directory "/proc/sys/dev/parport/parport0" has the following access rights: Owner: root Group: root rights: 555 (octal) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 kasievers@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |lnussel@novell.com ------- Comment #10 from kasievers@novell.com 2007-02-27 17:38 MST ------- Ludwig, is it ok to assign /dev/parport* the group "lp" with r/w rights? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=246176 lnussel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lnussel@novell.com Status|NEEDINFO |RESOLVED Info Provider|lnussel@novell.com | Resolution| |WONTFIX ------- Comment #11 from lnussel@novell.com 2007-02-28 01:44 MST ------- That would just encourage users to use the group lp which is reserved for use by the printing system! AFAIK more parts of cups are going to run as root in the future so we could even remove group lp from /dev/lp* instead. A more correct solution to the problem would be: # cat <<EOF > /etc/hal/fdi/policy/20user/50-myscanner.fdi <?xml version="1.0" encoding="ISO-8859-1"?> <deviceinfo version="0.2"> <device> <match key="linux.device_file" string="/dev/parport0"> <merge key="resmgr.class" type="string">scanner</merge> </match> </device> </deviceinfo> EOF -- 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, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com