home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!howland.reston.ans.net!usc!cs.utexas.edu!convex!news.utdallas.edu!ramesh
- From: ramesh@utdallas.edu (R. Ramesh)
- Subject: Getting lpr/lpd to work
- Message-ID: <Bzw8pz.EM5@utdallas.edu>
- Sender: usenet@utdallas.edu
- Nntp-Posting-Host: ramesh.utdallas.edu
- Organization: Univ. of Texas at Dallas
- Date: Sun, 27 Dec 1992 01:13:11 GMT
- Lines: 27
-
- Hi:
-
- I know this has been asked and answered before. But those answers are unable
- to help me. I cannot get lpr/lpd to work. THis is what I did. I unpacked the
- lpr.tar.Z package as root at /. Edited /usr/etc/printcap to:
-
- lp:lp=/dev/lp:sd=/usr/spool/lp:lf=/usr/adm/lpd-errs
-
- I have /dev/lp and /usr/spool/lp. /dev/lp is world read+write'able.
- /usr/spool/lp has this protection
-
- drwxr-xr-x 2 daemon daemon 144 Dec 26 18:52 /usr/spool/lp/
-
- I can lpr files (as root) which get moved to appropriate directory. As
- ordinary user, I cannot even lpr files as I get
-
- lpr: cannot create /usr/spool/lp/.seq
-
- I have lpr with setgid bit and lpr is chowned to daemon.daemon.
-
- lpc cannot do any thing. It always complains lp: cannot restart daemon.
- It looks to me some permission problem unless you see something different.
- Could some one that set up lp properly tell me what permissions are needed
- for various support files.
-
- Ramesh
-
-