I found the cause of the bug and would like to propose a fix. The
AppArmor profile for Evince contains a specific clause to handle saving
files that looks like this:

  # evince creates a temporary stream file like '.goutputstream-XXXXXX' in the
  # directory a file is saved. This allows that behavior.
  owner /**/.goutputstream-* w,

However, write permission is not sufficient to rename a file - the
permission should be write AND read:

  owner /**/.goutputstream-* rw,

Making this change has fixed the problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1567565

Title:
  Permission error saving a file

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to