Fedora Linux Support Community & Resources Center
  #1  
Old 9th July 2006, 08:33 PM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 845
can't use parallel port scanner as ordinary user

My father has a Umax Astra 2000P parallel port scanner. In order to allow scanning as an ordinary user, we would like to make /dev/parport0 world-readable and writable. Prior to udev one could just change the permissions from 660 to 666. This won't work with udev recreating the device after each boot. I tried editing /etc/udev/rules.d and changing the permissions in the line

KERNEL=="parport*", GROUP="lp", MODE="0660"

to 666 instead. But it doesn't work - after rebooting, the permissions are still 660. Any ideas?
Reply With Quote
  #2  
Old 10th July 2006, 08:53 PM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 845
After reading man pages, we've done the following:

1) In /etc/sane.d/dll.conf, uncommented "umax_pp".
2) In /etc/sane.d/net.conf, uncommented "localhost".
3) In /etc/xinetd.d, created a file sane-port with the contents:

# default: off
# description: The sane server accepts requests
# for network access to a local scanner via the
# network.
service sane-port
{
port = 6566
socket_type = stream
wait = no
user = root
group = root
server = /usr/sbin/saned
}

Still no luck. It shouldn't be necessary to put "localhost" in /etc/sane.d/saned.conf since the saned man page says that in this file, connections from localhost are always permitted. It would be nice if someone would have detailed instructions posted on how to get parallel-port scanners working in Fedora, since the details are distro-specific.
Reply With Quote
  #3  
Old 11th July 2006, 03:38 AM
nimbius's Avatar
nimbius Offline
Registered User
 
Join Date: Nov 2004
Location: Kentucky
Posts: 131
SUID bit sounds like something worth a try

http://wiki.linuxquestions.org/wiki/Suid
Reply With Quote
  #4  
Old 15th July 2006, 07:51 PM
robatino Offline
Registered User
 
Join Date: Feb 2004
Posts: 845
Finally solved - see

http://forums.fedoraforum.org/forum/...d.php?p=571177
Reply With Quote
Reply

Tags
ordinary, parallel, port, scanner, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC7 and Canon Parallel Scanner NOT WORK bradchaus Hardware & Laptops 0 9th August 2007 03:02 AM
NFS Mount as an ORDINARY USER fahadsaeed Servers & Networking 1 22nd June 2005 10:11 PM
Can connect different sites as root, OK as ordinary user pablaasmo Servers & Networking 1 1st September 2004 08:37 AM


Current GMT-time: 00:50 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat