Hello Dirk, or anyone else affected,

Accepted ghostscript into focal-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/ghostscript/9.50~dfsg-5ubuntu4.4 in
a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
focal to verification-done-focal. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-focal. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to ghostscript in Ubuntu.
https://bugs.launchpad.net/bugs/1913656

Title:
  `gs [options] -- <input_file>` fails with "permission denied"

Status in ghostscript package in Ubuntu:
  Fix Released
Status in ghostscript source package in Focal:
  Fix Committed

Bug description:
  [Impact]
   * The command line syntax `gs [options] -- <input_file>` fails
     to load in the input file with a "permission denied" error.
   * Per the ghostscript documentation, the `--` syntax is used as follows:
        "-- filename arg1 ...
         Takes the next argument as a file name as usual,
         but takes all remaining arguments (even if they
         have the syntactic form of switches) and defines
         the name ARGUMENTS in userdict (not systemdict)
         as an array of those strings, before running the
         file. When Ghostscript finishes executing the file,
         it exits back to the shell."

  [Test Plan]
  ---------- to be performed in a desktop environment ----------
   * Obtain a valid input file for ghostscript. The Source package
     contains an `examples/` directory with plenty to choose from.
   * `gs -- <input-file>`
   * Observe that the test failed with a "permission denied" error.
   * Install the version of ghostscript from focal-proposed.
   * `gs -- <input-file>`
   * Observe that the command succeeds and a ghostscript window.
     appears with the output of the `gs` command.

  In addition see comment 6 and comment 2 for two more items in the test
  plan. -- ~racb

  [Regression Potential]
   * Since this patch affects command line processing, it is possible
     that other arguments or command line syntaxes could be affected.

  [Original Description]
  Ghostscript 9.50 exhibits https://bugs.ghostscript.com/show_bug.cgi?id=701894 
(fix the '--' and co options) which causes (eg) ocrfeeder to fail to load PDF 
files: an input file specified using the "... -- filename ..." command line 
syntax has no read permission in the GS interpreter.

  This commit fixes it:

  
http://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=24ec06a27df63297796a379c95ee5d4b39040410

  GS 9.52 includes the commit.

  Either apply the fix from the linked commit in the Focal-Updates
  version, or upgrade it to 9.52.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ghostscript/+bug/1913656/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to