Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-10-2008, 06:03 PM   #1
Omar Bacha
LQ Newbie
Registered: Jul 2008
Location: Mexico
Posts: 1

Rep: Reputation: 0
Can only print as root

Hi all,

I'm using Redhat 7.1 and have a Epson Stylus Color 850. I can print to the printer as root but not as a normal user. I created the normal user simply by

useradd username

I "su username" and tried to print by

lpr textfile

but it said

Warning - Cannot open file 'textfile', Permission denied
Epson: nothing to print

I tried to change the setting in the /etc/lpd.perms file and did a "service lpd restart\" but nothing changed. I know that it must be due to some difference between root and a normal user. Would someone give me a pointer? Thanks a lot!
Old 07-10-2008, 07:01 PM   #2
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
what are the permissions of textfile? It sounds like the user doesn't have read access to it. As root,

chmod 766 test

and see how you go
Old 07-10-2008, 07:37 PM   #3
Senior Member
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
Why are you using Redhat-7.1?

You should move to a more recent Linux distro that suits your hardware. Your print quality with recent versions of CUPS will be much better too.


A. Mani


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 10.3: Root password is needed every time I want to print linuxlainen Linux - Newbie 6 03-14-2008 05:05 AM
I can only print as root in cups, why???? hellodio Linux - Newbie 6 05-10-2006 12:20 PM
CUPS Cannot print in mozilla non-root (can as root)? mismacku Linux - Software 0 08-26-2004 04:07 AM
Can only print to samba domain printer as root irios Linux - Networking 0 02-20-2004 01:24 PM
Can print as root but not normal user paranoia1980 Linux - Newbie 4 07-18-2003 05:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration