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/viewcmyk.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/viewcmyk.ps')
-rw-r--r-- | lib/viewcmyk.ps | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/viewcmyk.ps b/lib/viewcmyk.ps index e8034e533..33c5bdceb 100644 --- a/lib/viewcmyk.ps +++ b/lib/viewcmyk.ps @@ -56,6 +56,8 @@ cleartomark (Usage: gs -- viewcmyk.ps filename.cmyk width\n) print ( e.g.: gs -- viewcmyk.ps my.cmyk 2550\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 } { pop |