:: Re: [DNG] Printing -- now a permiss…
Top Pagina
Delete this message
Reply to this message
Auteur: Rainer Weikusat
Datum:  
Aan: dng
Onderwerp: Re: [DNG] Printing -- now a permissions problem
Hendrik Boom <hendrik@???> 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# strace -f / /usr/bin/lpr -h -PHL3170CDW Documents/math/Librationism=1407.3877v3.ps
> execve("/", ["/", "/usr/bin/lpr", "-h", "-PHL3170CDW", "Documents/math/Librationism=1407"...], [/* 37 vars */]) = -1 EACCES (Permission denied)
> write(2, "strace: exec: Permission denied\n", 32strace: exec: Permission denied
> ) = 32
> exit_group(1)                           = ?
> +++ exited with 1 +++
> root@notlookedfor:/home/hendrik# 


Executing your root directory, as in

strace -f /

while passing the command you wanted to execute as arguments to it
obviously won't work :-).