Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #244094 > unrolled thread

imagemagick policy setting

Started byEmanuel Berg <moasenwood@zoho.eu>
First post2022-01-17 00:40 +0100
Last post2022-01-17 18:10 +0100
Articles 9 — 5 participants

Back to article view | Back to linux.debian.user


Contents

  imagemagick policy setting Emanuel Berg <moasenwood@zoho.eu> - 2022-01-17 00:40 +0100
    Re: imagemagick policy setting deloptes <emanoil.kotsev@deloptes.org> - 2022-01-17 01:50 +0100
      Re: imagemagick policy setting Emanuel Berg <moasenwood@zoho.eu> - 2022-01-17 02:50 +0100
      Re: imagemagick policy setting local10 <local10@tutanota.com> - 2022-01-17 04:50 +0100
        Re: imagemagick policy setting Emanuel Berg <moasenwood@zoho.eu> - 2022-01-17 05:10 +0100
          Re: imagemagick policy setting local10 <local10@tutanota.com> - 2022-01-17 05:50 +0100
            Re: imagemagick policy setting deloptes <emanoil.kotsev@deloptes.org> - 2022-01-17 12:40 +0100
              Re: imagemagick policy setting <tomas@tuxteam.de> - 2022-01-17 13:10 +0100
              Re: imagemagick policy setting Lee <ler762@gmail.com> - 2022-01-17 18:10 +0100

#244094 — imagemagick policy setting

FromEmanuel Berg <moasenwood@zoho.eu>
Date2022-01-17 00:40 +0100
Subjectimagemagick policy setting
Message-ID<DGnhT-H9-3@gated-at.bofh.it>
I forgot how to fix this. I've done it once before, it was
a one-liner in a config file, related to policy/perceived
security/something-something. Don't remember, please help :)

TIA

#! /bin/zsh
#
# this file:
#   http://user.it.uu.se/~embe8573/conf/.zsh/pdf-img
#   https://dataswamp.org/~incal/conf/.zsh/pdf-img

pdf2img () {
    local src=$1
    local name=${src:r}
    local ext=${2:-png}

    local dst=${name}.${ext}

    local dep=32
    local den=300

    convert -density $den -depth $dep $src $dst
}
alias pdf2png=pdf2img

# $ pdf2png llc.pdf
# convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/421.
# convert-im6.q16: no images defined `llc.png' @ error/convert.c/ConvertImageCommand/3229.
#
# example file:
#   https://dataswamp.org/~incal/hs-linux/docs/report/figures/llc/llc.pdf

-- 
underground experts united
https://dataswamp.org/~incal

[toc] | [next] | [standalone]


#244097

Fromdeloptes <emanoil.kotsev@deloptes.org>
Date2022-01-17 01:50 +0100
Message-ID<DGonE-1p6-7@gated-at.bofh.it>
In reply to#244094
Emanuel Berg wrote:

> attempt to perform an operation not allowed by the security policy `PDF' @
> error/constitute.c/IsCoderAuthorized/421

Is google broken where you live?
https://askubuntu.com/questions/1127260/imagemagick-convert-not-allowed

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0

[toc] | [prev] | [next] | [standalone]


#244098

FromEmanuel Berg <moasenwood@zoho.eu>
Date2022-01-17 02:50 +0100
Message-ID<DGpjH-1X8-1@gated-at.bofh.it>
In reply to#244097
  /etc/ImageMagick-6/policy.xml

  # find and edit the line
  <policy domain="coder" rights="none" pattern="PDF" />
  # to
  <policy domain="coder" rights="read|write" pattern="PDF" />

https://askubuntu.com/questions/1127260/imagemagick-convert-not-allowed

-- 
underground experts united
https://dataswamp.org/~incal

[toc] | [prev] | [next] | [standalone]


#244099

Fromlocal10 <local10@tutanota.com>
Date2022-01-17 04:50 +0100
Message-ID<DGrbP-3cr-1@gated-at.bofh.it>
In reply to#244097
Jan 17, 2022, 00:47 by emanoil.kotsev@deloptes.org:

> Is google broken where you live?
>


It's 2022, who in the right mind would use g**gle nowadays?!

https://nomoregoogle.com/

[toc] | [prev] | [next] | [standalone]


#244100

FromEmanuel Berg <moasenwood@zoho.eu>
Date2022-01-17 05:10 +0100
Message-ID<DGrvb-3y1-1@gated-at.bofh.it>
In reply to#244099
local10 wrote:

>> Is google broken where you live?
>
> It's 2022, who in the right mind would use g**gle nowadays?!

...

Didn't this use to be a friendly place?

Or did I accidentally post to the Usenet group instead of the
project user ML?

-- 
underground experts united
https://dataswamp.org/~incal

[toc] | [prev] | [next] | [standalone]


#244103

Fromlocal10 <local10@tutanota.com>
Date2022-01-17 05:50 +0100
Message-ID<DGs7T-3Kg-5@gated-at.bofh.it>
In reply to#244100
Jan 17, 2022, 04:01 by moasenwood@zoho.eu:

> local10 wrote:
>
>>> Is google broken where you live?
>>>
>>
>> It's 2022, who in the right mind would use g**gle nowadays?!
>>
>
> ...
>
> Didn't this use to be a friendly place?
>


Those who suggest that you use google are not your friends. You can start here:

1. https://en.wikipedia.org/wiki/Criticism_of_Google

2. https://nomoregoogle.com/

Regards,

[toc] | [prev] | [next] | [standalone]


#244113

Fromdeloptes <emanoil.kotsev@deloptes.org>
Date2022-01-17 12:40 +0100
Message-ID<DGywG-848-3@gated-at.bofh.it>
In reply to#244103
local10 wrote:

> Those who suggest that you use google are not your friends. You can start
> here:
> 
> 1. https://en.wikipedia.org/wiki/Criticism_of_Google
> 
> 2. https://nomoregoogle.com/
> 

Oh come on, it is a synonym for a search engine. Of course it is a sh*t
business model they have towards customers/users, but the search engine is
really good.
I've tried duckduckgo for some time, but it is not comparable and it is also
understandable. I agree it would be better we use alternatives, but in
terms of quality, there are none.

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0

[toc] | [prev] | [next] | [standalone]


#244116

From<tomas@tuxteam.de>
Date2022-01-17 13:10 +0100
Message-ID<DGyZH-8tP-3@gated-at.bofh.it>
In reply to#244113

[Multipart message — attachments visible in raw view] — view raw

On Mon, Jan 17, 2022 at 12:29:39PM +0100, deloptes wrote:
> local10 wrote:
> 
> > Those who suggest that you use google are not your friends. You can start
> > here:
> > 
> > 1. https://en.wikipedia.org/wiki/Criticism_of_Google
> > 
> > 2. https://nomoregoogle.com/
> > 
> 
> Oh come on, it is a synonym for a search engine. Of course it is a sh*t
> business model they have towards customers/users, but the search engine is
> really good.
> I've tried duckduckgo for some time, but it is not comparable and it is also
> understandable. I agree it would be better we use alternatives, but in
> terms of quality, there are none.

We have had this discussion already. The way you put it in absolute
terms is simply wrong.

Google has much more context on your query, because they track you.
You'll have to learn to provide DDG with that missing context, then the
results are comparable. You get to learn a bit about search in the
process :-)

I've actually switched from Google to DDG (roughly six years ago). From
time to time (about twice a year) I still resort to Google, especially
when I don't understand why I'm not getting results I expect.

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#244129

FromLee <ler762@gmail.com>
Date2022-01-17 18:10 +0100
Message-ID<DGDG1-3kk-7@gated-at.bofh.it>
In reply to#244113
On 1/17/22, deloptes <emanoil.kotsev@deloptes.org> wrote:
> local10 wrote:
>
>> Those who suggest that you use google are not your friends. You can start
>> here:
>>
>> 1. https://en.wikipedia.org/wiki/Criticism_of_Google
>>
>> 2. https://nomoregoogle.com/
>>
>
> Oh come on, it is a synonym for a search engine. Of course it is a sh*t
> business model they have towards customers/users, but the search engine is
> really good.
> I've tried duckduckgo for some time, but it is not comparable and it is
> also
> understandable. I agree it would be better we use alternatives, but in
> terms of quality, there are none.

I suspect google search result quality is a result of it learning your
preferences.

Years ago I agreed with you - google was _the_ search engine.  Then I
started using alternatives exclusively and ... 3 years later[??] I
tried google again and the results sucked.

Regards,
Lee

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web