Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 16:43:02 -0300
From:      Ronan Lucio <ronanl@melim.com.br>
To:        Warren Block <wblock@wonkity.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: LPD Error
Message-ID:  <20020621164302.7ae843a6.ronanl@melim.com.br>
In-Reply-To: <Pine.BSF.4.21.0206211330490.86535-100000@wonkity.com>
References:  <20020621160957.5be7daff.ronanl@melim.com.br> <Pine.BSF.4.21.0206211330490.86535-100000@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <wblock@wonkity.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621164302.7ae843a6.ronanl>