[25593] in Athena Bugs

home help back first fref pref prev next nref lref last post

linux 9.2.29 /dev/lp0 inaccessible to lpd

daemon@ATHENA.MIT.EDU (Derek Atkins)
Mon Apr 12 12:56:01 2004

To: bugs@mit.edu
From: Derek Atkins <warlord@mit.edu>
Date: Mon, 12 Apr 2004 12:55:56 -0400
Message-ID: <sjmwu4luodf.fsf@kikki.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Errors-To: bugs-bounces@mit.edu

Hi,

I just upgraded my server to 9.2.29 (from an older version
of Athena) and the printer server lpd could not access the
printer device, /dev/lp0.

It appears that lpd is running as user/group daemon, but
/dev/lp0 is owned by root:lp:

crw-rw----    1 root     lp         6,   0 Jan 30  2003 /dev/lp0

After I manually changed the device to be group daemon
the printer started working.

IMHO either lpd should run in group lp, or /dev/lp0 should be
chgrp'ed to group daemon.  Either way works fine.

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available

home help back first fref pref prev next nref lref last post