Andreas Klemm on Thu, 14 Dec 2000 22:15:48 +0100 (CET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: printer spooldirs wrong owner ?? (was Re: Fixes for apsfilter-current-09.12.2000 (printing via smbclient) )


On Thu, Dec 14, 2000 at 10:06:48AM +0100, Michael Loßin wrote:
> Andreas Klemm wrote:
> > 
> > On Wed, Dec 13, 2000 at 03:35:51PM +0300, Ilya Martynov wrote:
> > > P.S. I forgot about another problem I meet while setting up printing. SETUP
> > > creates smbclient.conf that is not readble by lpd. For me it was created as:
> > >
> > > -rw-------  1 root  daemon  156 Dec 12 16:41 smbclient.conf
> > >
> > > to make printing work I had to chmod g+r on it.
> > 
> > I think this is an inconsistency in FreeBSD ...
> > 
> > The filterscript (forked by llpd) runs under permissions
> > daemon.wheel, but the spooldirs in FreeBSD by default are
> > created with permissions root.daemon.
> 
> We are talking about apsfilter6, right?
> 
> In this case, smbclient.conf resides in /etc/apsfilter/QUEUE/,
> but it should have gotten the same owner/group settings as the
> spool dir.
> 
> I have no idea what went wrong there.

I think this happens, if the spooldirs owner and group doesn't
reflect owner and group at runtime of the if ..

-- 
Andreas Klemm                                           Powered by FreeBSD SMP
Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html
My homepage................................ http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/