← Back to team overview

desktop-packages team mailing list archive

[Bug 867749] Re: Permission Denied error when reading a pdf format file whos name doesn't end in .pdf

 

In Evince upstream, we have seen similar reports in the past, but all of
them have turned out to be Ubuntu specific (i.e. issues with apparmor).

As per comment https://bugzilla.gnome.org/show_bug.cgi?id=661936#c9:

----
File named test:

[12219.529055] type=1400 audit(1420318053.543:106): apparmor="DENIED"
operation="open" profile="/usr/bin/evince" name="/var/run/test" pid=22519
comm="EvJobScheduler" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

After renaming to test.pdf it works as expected.

This does not apply if file is in user home dir. Looks to me like distro
(namely Ubuntu) specific.
----

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

Title:
  Permission Denied error when reading a pdf format file whos name
  doesn't end in .pdf

Status in Evince document viewer:
  Unknown
Status in evince package in Ubuntu:
  Confirmed

Bug description:
  When opening a pdf document that has a name ending in '.pdf' the
  document opens as expected. However, when opening a pdf document whose
  name does not end in '.pdf',, evince gives the error "Permission
  Denied".

  To Reproduce:
  0. Obtain a PDF document.
  1. Make a copy of it. 
  2. Rename the copy so that the name does not end in '.pdf'.
  3. Open the original copy. Notice that there is no error.
  4. Open the renamed copy and notice that the document is not opened and instead the error "Permission Denied" is given.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: evince 2.32.0-0ubuntu12.3
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  CheckboxSubmission: a869e808e24f1cd12a0b9ddfb6a9e84b
  CheckboxSystem: fd6c484c0b5d20a2f1cd036ef0f63975
  Date: Tue Oct  4 10:48:51 2011
  ExecutablePath: /usr/bin/evince
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  ProcCmdline_: BOOT_IMAGE=/boot/vmlinuz-2.6.38-11-generic root=UUID=b3cdc2b9-ea16-4287-aac5-8583c21f4050 ro quiet splash vt.handoff=7
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
  ProcVersionSignature_: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  SourcePackage: evince
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References