network access to scanner and permission problems

Asked by Rolf Leggewie

Hi,

I have an HP ScanJet 4c that seems to be quite well supported by sane. I can make local scans mostly without problems. But scanning over the network requires manual fiddling. The device node for the scanner is /dev/sg0 and owned by root.scanner with permission crw-rw----. Unless I change that to crw-rw-rw-, scanning from another workstation over the network is not possible. I am at my wits end as to why that is.

Any help greatly appreciated.

Regards

Rolf

# cat /etc/xinetd.d/saned
service sane-port
{
  socket_type = stream
  server = /usr/sbin/saned
  protocol = tcp
  user = saned
  group = saned
  wait = no
  disable = no
}

# grep sane /etc/services
sane-port 6566/tcp sane saned # SANE network scanner daemon

# grep scan /etc/group
scanner:x:105:cupsys,saned

(----)

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu sane-backends Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Rolf Leggewie (r0lf) said :
#1

I just found out that there are two ways to "fix" this (in the sense of getting things to work"

* "chmod uog+rw /dev/sg0"
* "chmod saned /dev/sg0"

Revision history for this message
Rolf Leggewie (r0lf) said :
#2

> * "chmod saned /dev/sg0"

That should have been "chown root.saned /dev/sg0"

Revision history for this message
Launchpad Janitor (janitor) said :
#3

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Rolf Leggewie (r0lf) said :
#4

still looking for a way out

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.