Summary: | New default -P- behaviour needs tweaking | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Tim Waugh <twaugh> |
Component: | PS Interpreter | Assignee: | Alex Cherepanov <alex> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.71 | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- |
Description
Tim Waugh
2010-10-28 13:21:54 UTC
1. gs is working as designed. A rogue PS program is prevented from snooping on the user's files. 2. v. 9.00 didn't introduce anything new in this respect. Earlier versions of gs report exactly the same error. Sorry, this change of behaviour was introduced in 8.71, not 9.00. Is there any switch that can be used for a known-good PS program that wants to (a) read user files, and (b) operate safely during initialisation so that user files are not read until initialisation is complete? Once 'SAFER' is set, the list of permitted directories is locked. Only by having a 'known good' PS file in a location that is acceptable to be accessed can the known good file be used by specifying that directory with the -I option on the command line. Ghostscript 9.00 is working as documented and as intended insofar as this behavior. |