cups serial backend failed with Permission denied
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt | ||
Hardy |
Fix Released
|
Undecided
|
Unassigned | ||
Intrepid |
Fix Released
|
Undecided
|
Martin Pitt | ||
Jaunty |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Binary package hint: cupsys
In Gutsy Gibbon, a printer connected to the serial port /dev/ttyS0 doesn't work because of permission denied error.
$ cat /etc/cups/
# Printer configuration file for CUPS v1.3.2
# Written by cupsd on 2007-10-19 11:08
<DefaultPrinter FS-1750>
Info Kyocera FS-1750
Location here
DeviceURI serial:/dev/ttyS0
State Idle
StateTime 1192784830
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy retry-job
</Printer>
$ dmesg | grep ttyS0
[ 14.442083] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 14.443127] 00:0b: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
$ ls -al /dev/ttyS0
crw-rw---- 1 root dialout 4, 64 Oct 19 11:20 /dev/ttyS0
$ su - cupsys
$ cat > /dev/ttyS0
asdf
^D
_works_!
$ tail /var/log/
E [19/Oct/
E [19/Oct/
It does not seem to be a AppArmor problem but an simple permission problem: After setting permissions of /dev/ttyS0 to 666 it works without any problem.
Already tried to put the user lp (owner of serial backend process) into group dialout - with no success.
Any other ideas?
Changed in cupsys: | |
assignee: | nobody → pitti |
status: | New → In Progress |
Is this symptom still reproducible in 8.10?