From owner-freebsd-questions@FreeBSD.ORG Wed Sep 29 06:54:57 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9572C16A4CE for ; Wed, 29 Sep 2004 06:54:57 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20F8C43D2D for ; Wed, 29 Sep 2004 06:54:57 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Wed, 29 Sep 2004 01:51:15 -0500 Message-ID: <415A5BDA.6010505@daleco.biz> Date: Wed, 29 Sep 2004 01:53:14 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Thomas Moyer References: <20040928181609.O627@tmm324.rh.psu.edu> In-Reply-To: <20040928181609.O627@tmm324.rh.psu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Sep 2004 06:51:24.0325 (UTC) FILETIME=[BC4F1550:01C4A5F0] cc: freebsd-questions@freebsd.org Subject: Re: Permssions Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2004 06:54:57 -0000 Thomas Moyer wrote: >I have recently decided to switch from CUPS to apsfilter for printing and >cannot remember the permssions on /usr/bin/lp, lpq, lpr, and lprm. They >were changed to non-executable (through chmod 0) and now I need to set >them back to their original values. Can someone tell me what they should >be. > >Thomas Moyer >tmm324@psu.edu >DracoYung > I'm running and enjoying apsfilter. I may have futzed around with things when I was installing apsfilter, but everything print-wise is working with the following. I have built world since, though, a few times, so probably these *are* correct.... % ll lp* -r-xr-xr-x 1 root wheel 2590 Apr 23 11:38 lp* -r-sr-sr-x 1 root daemon 25416 Apr 23 11:38 lpq* -r-sr-sr-x 1 root daemon 29132 Apr 23 11:38 lpr* -r-sr-sr-x 1 root daemon 24172 Apr 23 11:38 lprm* IIRC, you could look at mtree(8) to authoritatively get things back to the "original" ... Kevin Kinsey