Public bug reported:
When qpdf is run with the `--replace-input`option, it tries to create two
temporary files with extensions
"~qpdf-temp#"and ".~qpdf-orig#". On Ubuntu 25.10 this fails with message:
qpdf: open <PDF file>.~qpdf-temp#: Permission denied
Adding the following two lines in /etc/appamor.d/qpdf resolves the issue:
owner @{HOME}/[^.]**.~qpdf-temp# rw,
owner @{HOME}/[^.]**.~qpdf-orig# rw,
Bug reported at https://github.com/qpdf/qpdf/issues/1559
** Affects: ubuntu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2128896
Title:
qpdf appamor permissions are insufficient
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2128896/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs