lpr

Brian Feinberg brian%cirrusl at oliveb.ATC.olivetti.com
Thu Oct 4 04:39:53 AEST 1990


In <1990Sep29.171842.28988 at mintaka.lcs.mit.edu> marcus at sun-of-smokey.mit.edu (Jeff Marcus) writes:

>We are having a problem with the lpr command (used to spool files to a laser printer and
>print them.) When we use the -r switch to remove the file after being spooled, a message is printed that the file cannot be removed and it is not removed. There does not appear to be anything weird about the file protection (it is rw for the owner and group). Also, this used to work and has stopped working over the last month or so. If anyone has any ideas, please send me e-mail at marcus at goldilocks.lcs.mit.edu. Thank you.
>      Jeff Marcus

Have you checked the permissions on /usr/lib/lpd?
It should be 6711, and owned by root, group daemon. The leading 6 means
set-uid and set-gid.

-- Brian Feinberg
--
Brian Feinberg <brian%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!brian
--
Brian Feinberg <brian%cirrusl at oliveb.ATC.olivetti.com>
UUCP:  oliveb!cirrusl!brian



More information about the Comp.unix.questions mailing list