Sorry, I should've place more lines of context from strace(1) to prove the causation relation from the messages printed to stderr and the EACCES error:
open("/tmp/presbyterianbook00oxfouoft_wm_0499.jp2", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=619379, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0908f53000 read(3, "\0\0\0\fjP \r\n\207\n\0\0\0\24ftypjp2 \0\0\0\0jp2 "..., 4096) = 4096 lseek(3, 0, SEEK_SET) = 0 read(3, "\0\0\0\fjP \r\n\207\n\0\0\0\24ftypjp2 \0\0\0\0jp2 "..., 8192) = 8192 open("/tmptmp.XXXXuphIuc", O_RDWR|O_CREAT|O_EXCL, 0600) = -1 EACCES (Permission denied) write(2, "error: cannot decode code stream"..., 33error: cannot decode code stream ) = 33 fstat(3, {st_mode=S_IFREG|0644, st_size=619379, ...}) = 0 close(3) = 0 munmap(0x7f0908f53000, 4096) = 0 write(2, "mogrify: unable to decode image "..., 82mogrify: unable to decode image file `/tmp/presbyterianbook00oxfouoft_wm_0499.jp2') = 82 write(2, ".\n", 2. ) = 2 munmap(0x7f09050ce000, 2115304) = 0 munmap(0x7f0904e79000, 2443752) = 0 munmap(0x7f09054f7000, 2206016) = 0 munmap(0x7f09052d3000, 2244536) = 0 exit_group(1) = ? Process 29489 detached
Sorry, I should've place more lines of context from strace(1) to prove the causation relation from the messages printed to stderr and the EACCES error:
open("/ tmp/presbyteria nbook00oxfouoft _wm_0499. jp2", O_RDONLY) = 3 S_IFREG| 0644, st_size=619379, ...}) = 0 PROT_WRITE, MAP_PRIVATE| MAP_ANONYMOUS, -1, 0) = 0x7f0908f53000 n\0\0\0\ 24ftypjp2 \0\0\0\0jp2 "..., 4096) = 4096 n\0\0\0\ 24ftypjp2 \0\0\0\0jp2 "..., 8192) = 8192 tmptmp. XXXXuphIuc" , O_RDWR| O_CREAT| O_EXCL, 0600) = -1 EACCES (Permission denied) S_IFREG| 0644, st_size=619379, ...}) = 0 0x7f0908f53000, 4096) = 0 ianbook00oxfouo ft_wm_0499. jp2') = 82 0x7f09050ce000, 2115304) = 0 0x7f0904e79000, 2443752) = 0 0x7f09054f7000, 2206016) = 0 0x7f09052d3000, 2244536) = 0
fstat(3, {st_mode=
mmap(NULL, 4096, PROT_READ|
read(3, "\0\0\0\fjP \r\n\207\
lseek(3, 0, SEEK_SET) = 0
read(3, "\0\0\0\fjP \r\n\207\
open("/
write(2, "error: cannot decode code stream"..., 33error: cannot decode code stream
) = 33
fstat(3, {st_mode=
close(3) = 0
munmap(
write(2, "mogrify: unable to decode image "..., 82mogrify: unable to decode image file `/tmp/presbyter
write(2, ".\n", 2.
) = 2
munmap(
munmap(
munmap(
munmap(
exit_group(1) = ?
Process 29489 detached