From owner-freebsd-stable Wed Dec 13 23:15:45 2000 From owner-freebsd-stable@FreeBSD.ORG Wed Dec 13 23:15:43 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from picalon.gun.de (picalon.gun.de [192.109.159.1]) by hub.freebsd.org (Postfix) with ESMTP id 3F0FA37B400; Wed, 13 Dec 2000 23:15:42 -0800 (PST) Received: (from uucp@localhost) by picalon.gun.de (8.9.3/8.9.3) id IAA04202; Thu, 14 Dec 2000 08:15:25 +0100 (MET) >Received: (from andreas@localhost) by klemm.gtn.com (8.11.1/8.11.1) id eBE76Mk11577; Thu, 14 Dec 2000 08:06:22 +0100 (CET) (envelope-from andreas) Date: Thu, 14 Dec 2000 08:06:22 +0100 From: Andreas Klemm To: Ilya Martynov , gad@FreeBSD.ORG Cc: apsfilter-current@apsfilter.org, freebsd-stable@FreeBSD.ORG Subject: printer spooldirs wrong owner ?? (was Re: Fixes for apsfilter-current-09.12.2000 (printing via smbclient) ) Message-ID: <20001214080622.A11433@titan.klemm.gtn.com> References: Mime-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from m_ilya@agava.com on Wed, Dec 13, 2000 at 03:35:51PM +0300 X-Operating-System: FreeBSD 4.2-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. I think this could easily be fixed, if you would chown -R dameon.wheel /var/spool/lpd and during apsfilter SETUP you should take care that ownwer and group are now setup right to match daemon.wheel. [ Cc'd to freebsd-stable ] What do the lpd maintaining authorities in FreeBSD say ? Andreas /// -- 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/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message