LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Permission problem (https://www.linuxquestions.org/questions/linux-hardware-18/permission-problem-250020/)

comprookie2000 11-01-2004 07:51 PM

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

Peacedog 11-02-2004 06:56 AM

Does it work for a user? What are the permissions?
good luck.

Andrew Benton 11-02-2004 07:07 AM

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?

comprookie2000 11-02-2004 01:58 PM

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.


All times are GMT -5. The time now is 04:52 PM.