Subject: papd permissions problem

From: Philip Brodd <[email-masked]>
Date: Mon, 25 Sep 2000 12:26:13 -0500 (CDT)

I have some kind of permissions problem, but I can't track down where it
is.  This is netatalk-1.4b2+asun2.1.3, built from netbsd's package system.

Here are the errors I'm getting in /var/log/lpd-errs:
---------
Sep 25 05:00:00 cat newsyslog[5939]: logfile turned over
Sep 25 05:11:22 cat papd[5805]: child 5950 for "Laser Printy" from
65280.128
Sep 25 05:11:27 cat papd[5950]: lp_print queued
Sep 25 05:11:27 cat papd[5805]: child 5950 done
Sep 25 05:11:28 cat ofpap[5952]: starting for ?
Sep 25 05:11:28 cat ofpap[5952]: sending to pap[5953]
Sep 25 05:11:28 cat ofpap[5952]: straight text
Sep 25 05:11:28 cat papd[5805]: child 5954 for "Laser Printy" from
65280.239
status: Permission denied
Sep 25 05:11:28 cat papd[5805]: child 5954 done
Sep 25 05:11:28 cat ofpap[5952]: 5953 done
Sep 25 05:11:28 cat ofpap[5952]: pausing
Sep 25 05:11:28 cat ifpap[5955]: starting for daemon
Sep 25 05:11:28 cat ifpap[5955]: sending to pap[5956]
Sep 25 05:11:28 cat ifpap[5955]: PostScript
Sep 25 05:11:29 cat papd[5805]: child 5957 for "Laser Printy" from
65280.239
status: Permission denied
Sep 25 05:11:35 cat papd[5957]: lp_print queued
Sep 25 05:11:35 cat ifpap[5955]: 5956 done
Sep 25 05:11:35 cat ifpap[5955]: done
Sep 25 05:11:36 cat ofpap[5952]: restarting
Sep 25 05:11:36 cat ofpap[5952]: sending to pap[5959]
Sep 25 05:11:36 cat ofpap[5952]: straight text
Sep 25 05:11:36 cat papd[5805]: child 5957 done
status: Permission denied
---------

I'm not sure who is being denied permission to what here.

Here are my config files:

/etc/printcap:

lp|lw|laser-NTR|Personal LaserWriter NTR:\
    :lp=/dev/tty01:\
    :sd=/var/spool/lp:\
    :lf=/var/log/lpd-errs:\
    :br#9600:\
    :mx#0:\
    :rw:\
    :sh:\
    :fc#0000300:\
    :fs#0000041:\
    :of=/usr/pkg/libexec/psffilters/ofpap:\
    :if=/usr/pkg/libexec/psffilters/ifpap:

/etc/netatalk/papd.conf (with an empty line at the end)B:

Laser Printy:\
        :pr=lp:op=daemon:\
        pd=/usr/pkg/share/ppd/lw_NTR.ppd:

/var/spool/lp/.paprc

Laser Printy:LaserWriter@*

As I said, I'm not sure where the bad permsissions are, so I'm not sure
what directory listings to provide.

Thanks.

Phil