From owner-freebsd-questions Fri Jun 21 12:43:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.melim.com.br (salseiros.melim.com.br [200.215.110.23]) by hub.freebsd.org (Postfix) with ESMTP id 5EA7837B406 for ; Fri, 21 Jun 2002 12:43:06 -0700 (PDT) Received: from praiadosamores.melim.com.br (praiadosamores.melim.com.br [200.215.110.20]) by mail.melim.com.br (Postfix) with SMTP id 0FCD9BA91; Fri, 21 Jun 2002 16:43:01 -0300 (BRT) Date: Fri, 21 Jun 2002 16:43:02 -0300 From: Ronan Lucio To: Warren Block Cc: freebsd-questions@FreeBSD.ORG Subject: Re: LPD Error Message-Id: <20020621164302.7ae843a6.ronanl@melim.com.br> In-Reply-To: References: <20020621160957.5be7daff.ronanl@melim.com.br> Organization: Melim Internet X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-portbld-freebsd4.5) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Helo Warren, I think lpd runs as root # ps -ajx | grep lpd root 100 1 100 c3896500 0 Is ?? 0:00.02 /usr/sbin/lpd -c -l -d But, if it's wrong, how should I set the users permissions? Thank's, Ronan On Fri, 21 Jun 2002 13:33:50 -0600 (MDT) Warren Block wrote: > On Fri, 21 Jun 2002, Ronan Lucio wrote: > > > Now, when a user sends a print job, the first job is printed perfectly > > but after that, it doesn't print anything more. > > If I just remove the file /var/spool/lpd/spo/lock file, it prints > > perfectly and stop printing again until I remove the lock file. > > > # ls -l /var/spool/lpd/ > > total 10 > > drwxr-xr-x 2 root daemon 512 Jun 7 16:51 lp > > drwxr-xr-x 2 root daemon 512 Jun 7 17:51 ra1-14 > > drwxr-xr-x 2 root daemon 512 Jun 7 16:51 ra1-15 > > drwxr-xr-x 2 root daemon 512 Jun 7 17:04 ra1-16 > > drwxr-xr-x 2 root daemon 512 Jun 21 09:01 spo > > lpd runs as user daemon--will it be able to delete the lock file in spo > if that directory isn't owned by user daemon? > > -Warren Block * Rapid City, South Dakota USA > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message