my .seq file (which I think gets changed everytime something gets queued
for printing, but never disappears) looks like this:

-rw-rw---x    1 root     lp              4 Nov 16 23:23 .seq

root:lp with 0661 permissions

the parent directory (/var/spool/lpd) is root:daemon with 0775
permissions, the local directory itself is root:lp with 0755 permissions

ownership issues might very well be causing the problem you're having..
also, make sure that your printing utilities look like this:

-r-sr-sr-x    1 root     lp          16872 Oct  4 16:09 /usr/bin/lpq
-r-sr-sr-x    1 root     lp          18568 Oct  4 16:09 /usr/bin/lpr
-r-sr-sr-x    1 root     lp          17208 Oct  4 16:09 /usr/bin/lprm
-rwxr-xr-x    1 root     root         3148 Oct  4 16:09 /usr/bin/lptest
-rwxr-xr-x    1 root     root         2507 Mar  7  2000 /usr/bin/lpunlock

note that the first 3 are root:lp with 6555 permissions (not having, say,
lpr as setuid/setgid could cause a slight problem with gaining access high
enough to wirte a .seq file.

long story short, just check permissions on everything :)

On Sun, 19 Nov 2000, Hidong Kim wrote:

> Hi,
>
> I have a network of two Red Hat 6.1 machines.  There's a printer hooked
> up to one of the machines.  I can't print from the machine with the
> printer, but I can print from the remote machine.  When I try to print
> from the local machine, I get this error:
>
> lpr: cannot create /var/spool/lpd/lp/.seq
>
>
> I tried setting the permission to 1777 on /var/spool/lpd/lp on the local
> machine, but I still get the same error.  The permission on this
> directory was 755 before I tried changing it.  Printing was working fine
> from both machines until I recently upgraded the bios.  Any
> suggestions?  Thanks,
>
>
>
> Hidong
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

-- 
-Statux



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to