LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-01-2004, 07:51 PM   #1
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Permission problem


I'm trying to set up my printer and some how my permissions have gotten messed up.When I as root;
touch test.txt
echo "Hello World" > test.txt
cat test.txt > /dev/usb/lp0 I get a permission denied I'm useing Gentoo with a HP3650 printer.I have not done any thing that I can think of and I have never ran into this before,thanks
 
Old 11-02-2004, 06:56 AM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Does it work for a user? What are the permissions?
good luck.
 
Old 11-02-2004, 07:07 AM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
andy:~$ echo "Hello World" > /dev/usb/lp0
bash: /dev/usb/lp0: Permission denied
andy:~$

However, this doesn't seem to be a problem (for me at least) as printing through cups is working fine. Perhaps your problem lies elsewhere?
 
Old 11-02-2004, 01:58 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291

Original Poster
Blog Entries: 5

Rep: Reputation: 58
Thanks for the replys,the modules usbcore and usblp are loaded but /dev/usb/lp0 is not being seen.It is over my hurting head. I have set this printer before without a problem,could it be in the kernel,I enabled support as modules, I think I will try to enable support directly into the kernel and see what happens,thanks again david

Update: That fixed it.

Last edited by comprookie2000; 11-02-2004 at 02:24 PM.
 
  


Reply



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
Permission Problem Hero Doug Fedora 2 09-12-2005 01:41 AM
Permission problem Commando464 Linux - Newbie 3 07-31-2004 02:53 PM
permission problem.. bit7 Linux - Software 4 02-26-2003 05:08 AM
permission problem trusouthrnplaya Linux - General 2 04-16-2002 12:05 AM
Ftp permission problem 360 Linux - Networking 4 02-19-2002 10:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:06 AM.

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