diff options
author | Ken Sharp <ken.sharp@artifex.com> | 2022-08-01 13:47:01 +0100 |
---|---|---|
committer | Ken Sharp <ken.sharp@artifex.com> | 2022-08-01 13:47:01 +0100 |
commit | edaecc0880573d4a1c00055970cd92fa066f09fb (patch) | |
tree | 88d179cba76f80da628e3aa8317ffff28a8d2f39 /lib/viewpbm.ps | |
parent | 9d3ba211dbebfdaf88ca93f2ebd91c72ac13c80d (diff) | |
download | ghostpdl-edaecc0880573d4a1c00055970cd92fa066f09fb.tar.gz |
Bug #705699
" “Error: /invalidfileaccess in --file--” when converting PBM file to PDF"
There is no actual bug here, the user had not supplied either -dNOSAFER
or --permit-file-read on the command line to allow the interpreter to
read the input file.
However the viewpbm.ps program doesn't have that information in its
'usage' which would be useful information. So added that here, and
updated a number of other view*.ps programs which have usage information
to include this as well.
Diffstat (limited to 'lib/viewpbm.ps')
-rw-r--r-- | lib/viewpbm.ps | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/viewpbm.ps b/lib/viewpbm.ps index c8d3f86bc..143a056a6 100644 --- a/lib/viewpbm.ps +++ b/lib/viewpbm.ps @@ -327,6 +327,8 @@ ( e.g.: gs [-dSCALE=#.#] [-dFITPAGE] [--] viewpbm.ps my.ppm another.ppm\n) print flush ( also -dTAG option can be used to show the pseudo-color tag image from a\n) print flush ( P7 RGB_TAG PAM file created by the bitrgbtags device.\n) print flush + (From version 9.50 you must supply permissions for this program to read the input file(s)\n) print flush + (either by using -dNOSAFER or by supplying --permit-file-read=<filename>\n) = flush } ifelse } |