Re: [DNG] Printing -- now a permissions problem

2015-10-20 Thread Rainer Weikusat
Hendrik Boom writes: > On Mon, Oct 19, 2015 at 08:11:51PM +0100, Rainer Weikusat wrote: > >> >> Send_job is the name of the lprng function for sending a job to a remote >> print server. If you specifiy >> >> 515@172.25.1.122 >> >> as printer, it will try to connect to port 515 on 172.25.1.122 (

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 08:11:51PM +0100, Rainer Weikusat wrote: > > Send_job is the name of the lprng function for sending a job to a remote > print server. If you specifiy > > 515@172.25.1.122 > > as printer, it will try to connect to port 515 on 172.25.1.122 (default > port) and then try to

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Rainer Weikusat
Hendrik Boom writes: > On Mon, Oct 19, 2015 at 07:04:20PM +0100, Rainer Weikusat wrote: >> Hendrik Boom writes: >> > On Mon, Oct 19, 2015 at 05:47:57PM +0100, Rainer Weikusat wrote: [...] >> you could try switching to lprng. > > Did that. Now I'm noo longer getting the permissions error. > > B

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 02:49:47PM -0400, Hendrik Boom wrote: > On Mon, Oct 19, 2015 at 07:04:20PM +0100, Rainer Weikusat wrote: > > > > Adjusting the permission accordingly, ie, make lpr owned by root and > > setuid 0 and the spool directory owned and writable by lp may work. Or > > possibly not

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 07:04:20PM +0100, Rainer Weikusat wrote: > Hendrik Boom writes: > > On Mon, Oct 19, 2015 at 05:47:57PM +0100, Rainer Weikusat wrote: > > [...] > > > > root@notlookedfor:/home/hendrik# strace -f /usr/bin/lpr -h -PHL3170CDW > > Documents/math/Librationism=1407.3877v3.ps >

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Rainer Weikusat
Hendrik Boom writes: > On Mon, Oct 19, 2015 at 05:47:57PM +0100, Rainer Weikusat wrote: [...] > root@notlookedfor:/home/hendrik# strace -f /usr/bin/lpr -h -PHL3170CDW > Documents/math/Librationism=1407.3877v3.ps > execve("/usr/bin/lpr", ["/usr/bin/lpr", "-h", "-PHL3170CDW", > "Documents/math/

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 05:47:57PM +0100, Rainer Weikusat wrote: > Hendrik Boom writes: > > On Mon, Oct 19, 2015 at 05:21:06PM +0100, Rainer Weikusat wrote: > > [...] > > >> You could try running the lpr command via strace -f which ought to > >> provide more information about the 'permission den

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Rainer Weikusat
Hendrik Boom writes: > On Mon, Oct 19, 2015 at 05:21:06PM +0100, Rainer Weikusat wrote: [...] >> You could try running the lpr command via strace -f which ought to >> provide more information about the 'permission denied' error. [...] > Now for strace: > > root@notlookedfor:/home/hendrik# stra

[DNG] Printing -- now a permissions problem

2015-10-19 Thread info at smallinnovations.nl
On 19-10-15 16:38, dng-requ...@lists.dyne.org wrote: Message: 3 Date: Mon, 19 Oct 2015 09:24:44 -0400 From: Hendrik Boom To:dng@lists.dyne.org Subject: Re: [DNG] Printing -- now a permissions problem Message-ID:<20151019132444.ga21...@topoi.pooq.com> Content-Type: text/plain; charset=us

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 05:21:06PM +0100, Rainer Weikusat wrote: > Hendrik Boom writes: > > [...] > > > >> Since group has no permission and owner has all, only the owner > >> should matter. But the group s bit, AFAIR is something which > >> disallows overwriting a file owned by someone els

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Rainer Weikusat
Hendrik Boom writes: [...] >> Since group has no permission and owner has all, only the owner >> should matter. But the group s bit, AFAIR is something which >> disallows overwriting a file owned by someone else. Maybe try to >> make daemon the owner of /usr/bin/lpr, just to see what happen

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 12:15:54PM -0400, Hendrik Boom wrote: > On Mon, Oct 19, 2015 at 12:11:08PM -0400, Hendrik Boom wrote: > > On Mon, Oct 19, 2015 at 10:32:04AM -0500, Thaddeus Nielsen wrote: > > > On Mon, 19 Oct 2015 10:47:22 -0400 > > > Hendrik Boom wrote: > > > > > > > On Mon, Oct 19, 2015

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 12:11:08PM -0400, Hendrik Boom wrote: > On Mon, Oct 19, 2015 at 10:32:04AM -0500, Thaddeus Nielsen wrote: > > On Mon, 19 Oct 2015 10:47:22 -0400 > > Hendrik Boom wrote: > > > > > On Mon, Oct 19, 2015 at 09:38:20AM -0500, Thaddeus Nielsen wrote: > > > > On Mon, 19 Oct 2015

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Thaddeus Nielsen
On Mon, 19 Oct 2015 12:11:08 -0400 Hendrik Boom wrote: > On Mon, Oct 19, 2015 at 10:32:04AM -0500, Thaddeus Nielsen wrote: > > On Mon, 19 Oct 2015 10:47:22 -0400 > > Hendrik Boom wrote: > > > > > On Mon, Oct 19, 2015 at 09:38:20AM -0500, Thaddeus Nielsen wrote: > > > > On Mon, 19 Oct 2015 16:05

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 10:32:04AM -0500, Thaddeus Nielsen wrote: > On Mon, 19 Oct 2015 10:47:22 -0400 > Hendrik Boom wrote: > > > On Mon, Oct 19, 2015 at 09:38:20AM -0500, Thaddeus Nielsen wrote: > > > On Mon, 19 Oct 2015 16:05:37 +0200 > > > Didier Kryn wrote: > > > > > > > Le 19/10/2015 15:2

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 05:28:04PM +0200, Didier Kryn wrote: > Le 19/10/2015 16:38, Thaddeus Nielsen a écrit : > >On Mon, 19 Oct 2015 16:05:37 +0200 > >Didier Kryn wrote: > > > >>Le 19/10/2015 15:24, Hendrik Boom a écrit : > >>>On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: > On

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Thaddeus Nielsen
On Mon, 19 Oct 2015 10:47:22 -0400 Hendrik Boom wrote: > On Mon, Oct 19, 2015 at 09:38:20AM -0500, Thaddeus Nielsen wrote: > > On Mon, 19 Oct 2015 16:05:37 +0200 > > Didier Kryn wrote: > > > > > Le 19/10/2015 15:24, Hendrik Boom a écrit : > > > > On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendri

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Didier Kryn
Le 19/10/2015 16:38, Thaddeus Nielsen a écrit : On Mon, 19 Oct 2015 16:05:37 +0200 Didier Kryn wrote: Le 19/10/2015 15:24, Hendrik Boom a écrit : On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccardo Boninsegna wrote: On Mon, Oct 5,

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Rainer Weikusat
Hendrik Boom writes: [...] > Correct: > root@notlookedfor:/home/hendrik# ls -ald /var/spool/lpd/hl3170cdw > drwx-- 2 daemon lp 4096 Oct 5 14:40 /var/spool/lpd/hl3170cdw > root@notlookedfor:/home/hendrik# > > But with lpr being suid root, should that matter? At least, I think > tht's wha

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 09:38:20AM -0500, Thaddeus Nielsen wrote: > On Mon, 19 Oct 2015 16:05:37 +0200 > Didier Kryn wrote: > > > Le 19/10/2015 15:24, Hendrik Boom a écrit : > > > On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: > > >> On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccar

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 19, 2015 at 04:05:37PM +0200, Didier Kryn wrote: > Le 19/10/2015 15:24, Hendrik Boom a écrit : > >On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: > >>On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccardo Boninsegna wrote: > >>>On Mon, Oct 5, 2015 at 9:12 PM, Hendrik Boom >

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Thaddeus Nielsen
On Mon, 19 Oct 2015 16:05:37 +0200 Didier Kryn wrote: > Le 19/10/2015 15:24, Hendrik Boom a écrit : > > On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: > >> On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccardo Boninsegna wrote: > >>> On Mon, Oct 5, 2015 at 9:12 PM, Hendrik Boom > >>

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Didier Kryn
Le 19/10/2015 15:24, Hendrik Boom a écrit : On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccardo Boninsegna wrote: On Mon, Oct 5, 2015 at 9:12 PM, Hendrik Boom wrote: I installed lpr, and it did take a lot of cups off. Do I really n

Re: [DNG] Printing -- now a permissions problem

2015-10-19 Thread Hendrik Boom
On Mon, Oct 05, 2015 at 05:13:40PM -0400, Hendrik Boom wrote: > On Mon, Oct 05, 2015 at 09:47:02PM +0200, Riccardo Boninsegna wrote: > > On Mon, Oct 5, 2015 at 9:12 PM, Hendrik Boom wrote: > > > I installed lpr, and it did take a lot of cups off. Do I really need > > > cups? > > > > Nope, espec