From owner-freebsd-questions@FreeBSD.ORG Sat Oct 4 11:51:38 2003 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 82B7716A4B3 for ; Sat, 4 Oct 2003 11:51:38 -0700 (PDT) Received: from smtp01.syd.iprimus.net.au (smtp01.syd.iprimus.net.au [210.50.30.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F5AB43FBD for ; Sat, 4 Oct 2003 11:51:35 -0700 (PDT) (envelope-from ekrem@ozemail.com.au) Received: from [210.50.52.234] (210.50.52.234) by smtp01.syd.iprimus.net.au (7.0.018) (authenticated as ekrem@iprimus.com.au) id 3F67490500730617 for freebsd-questions@freebsd.org; Sun, 5 Oct 2003 04:51:28 +1000 From: Ekrem To: freebsd-questions Content-Type: text/plain Message-Id: <1065293593.714.13.camel@beynam.ecko.net.au> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sun, 05 Oct 2003 04:53:13 +1000 Content-Transfer-Encoding: 7bit Subject: Permissions Problem on /dev/lpt0 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: Sat, 04 Oct 2003 18:51:38 -0000 Hello All, I'm trying to set up printing on my FreeBSD 5.1-Release using LPRng but having problems. Hoping someone can help out here. When I do a $ checkpc -f, I get: Warning - lp: cannot open lp device '/dev/lpt0' - Permission denied The lpd is being run by user 'daemon' while ls -l /dev/lpt0 returns: crw------- 1 root wheel 16, 0 Oct 4 10:33 /dev/lpt0 I had done chmod 777 /dev/lpt0, at one time, also did chown daemon:daemon /dev/lpt0, in both cases I was able to print OK. BUTTT, whenever I reboot FreeBSD, the permissions for /dev/lpt0 are reset back to the original 'crw------- 1 root wheel'. I did some googling around but can't seem to find others with the same problem. Can anyone help please? Thanks