Re: [oS-EN] Image magick refuses to convert a true jpg file
"Carlos E. R." <[email protected]>
| Newsgroups | gmane.linux.suse.general |
|---|---|
| Message-ID | <[email protected]> |
On 2026-06-16 14:09, Daniel Bauer via openSUSE Users wrote:
> Am 16.06.26 um 12:49 schrieb Carlos E. R.:
>> On 2026-06-16 12:19, Daniel Bauer via openSUSE Users wrote:
>> Buff :-(
>>
>>
>> I copied your changes (with meld), does not work, same error.
>>
>> magick: attempt to perform an operation not allowed by the security
>> policy `IMG_20260615_195853218.jpg' @ error/blob.c/OpenBlob/3416.
>
> that is strange!
> I could imagine:
> - IMG_20260615_195853218.jpg is in a directory with a symlink
> - the command uses a relative path that ImageMagick interprets badly
> - the full path contains something that matches a blocked pattern
>
> To test this copy the file in a non-suspicious directory (/home/
> carlos/), cd to there and write the command (not run the script)
>
> If it works it was one of the above reasons.
It works. :-o
But the directory is not a symlink, none of the components. There is a simlink photos -> Photos. Photos is the real directory.
What about the ... in the name? [...] YES! THAT WAS IT! :-O
>
> If not,
> - paste the exact command you are running
> - paste the output of
> magick identify -list policy | grep -E 'path|coder|module'
> - tell me the exact ImageMagick version (magick -version)
>
> I'll test here and see if I find out something (no guarantee...).
>
>
cer@Laicolasse:~/Photos/Para compartir con...> magick identify -list policy | grep -E 'path|coder|module'
cer@Laicolasse:~/Photos/Para compartir con...> magick --version
Version: ImageMagick 7.1.2-0 Q16-HDRI x86_64 23234 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib cairo djvu fftw fontconfig freetype heic jbig jng jp2 jpeg jxl lcms lqr ltdl lzma openexr pangocairo png raw rsvg tiff webp wmf x xml zlib zstd
Compiler: gcc (13.4)
cer@Laicolasse:~/Photos/Para compartir con...>
--
Cheers / Saludos,
Carlos E. R.
(from openSUSE 16.0 (Laicolasse))
OpenPGP_signature.asc
(application/pgp-signature, 203 B)
-----BEGIN PGP SIGNATURE----- wmMEABEIACMWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCajFI1AUDAAAAAAAKCRC1MxgcbY1H1YAh AJ9D4TcOP46CjteYsFnahmiSzBgNugCdGgCBpmCaacGs1LjOysp7aSurfXM= =P5uk -----END PGP SIGNATURE-----