cannot create /dev/ecpp0

cannot create /dev/ecpp0

Post by Richard Walte » Fri, 31 Mar 2000 04:00:00



Hi all,

i know, its not so good to print directly to /dev/ecpp0 on the
parallel port, but i have to do this.
When i am root i can do 'cat .profile > /dev/ecpp0' and the file is
printed.
when i do the same with another user i get the message:
cannot create /dev/ecpp0
I've addet the groups root, sys and lp to the user profile, no luck.
Has anyone an idea, what's going wrong.

Best regards
Richard

 
 
 

cannot create /dev/ecpp0

Post by Mike Spoone » Fri, 31 Mar 2000 04:00:00


The file /dev/ecpp0 is probably owned by uucp and group-owned
by uucp too.

You can change it if you HAVE to with chown.
chmod may also come in handy.



Quote:> Hi all,

> i know, its not so good to print directly to /dev/ecpp0 on the
> parallel port, but i have to do this.
> When i am root i can do 'cat .profile > /dev/ecpp0' and the file is
> printed.
> when i do the same with another user i get the message:
> cannot create /dev/ecpp0
> I've addet the groups root, sys and lp to the user profile, no luck.
> Has anyone an idea, what's going wrong.

> Best regards
> Richard


 
 
 

cannot create /dev/ecpp0

Post by Greg Andre » Fri, 31 Mar 2000 04:00:00



>i know, its not so good to print directly to /dev/ecpp0 on the
>parallel port, but i have to do this.
>When i am root i can do 'cat .profile > /dev/ecpp0' and the file is
>printed.
>when i do the same with another user i get the message:
>cannot create /dev/ecpp0
>I've addet the groups root, sys and lp to the user profile, no luck.
>Has anyone an idea, what's going wrong.

Your user is using csh as the shell, with the "noclobber" variable on.

Try using the append redirection symbol ">>" instead of the open/truncate
symbol ">", or type the command "unset noclobber" before your cat command.

Also, check the device file that /dev/ecpp0 points to, and see if it
can be written by ordinary users.

  -Greg
--

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

 
 
 

1. Printing to /dev/ecpp0, not /dev/null

Hi

I have a printer that is set up to print to /dev/null. This should now
be changed to /dev/ecpp0. Is it not possible to make the change by
editing a file? Where do I find this information?
Or is it really necessary to use lpadmin for this? I would prefer to
edit a file.

Cheers,

Jens

--
Jens Kaalby Thomsen,         Department of Protein Chemistry
University of Copenhagen,    ?ster Farimagsgade 2A
DK-1353 Copenhagen K, Denmark
Phone: + 45 35 32 20 79      Fax:   + 45 35 32 20 75

2. Help with 4-gig drives

3. Sun Ultra Parallel Port /dev/ecpp0

4. Unknown compat mode error

5. Has anyone gotten a printer to work on /dev/ecpp0 (ultra-10).

6. 2.5.4-pre1: zero-filled files resiserfs

7. Q: /dev/ecpp0 <-> Centronics

8. SIGSEGV on AIX 4.x w/ Oracle 7.3.2

9. /dev/ecpp0 - problem?

10. /dev/ecpp0

11. Printing to /dev/ecpp0

12. Sun Ultra Parallel Port /dev/ecpp0

13. sbpci-1.3 - /dev/audio: cannot create