Bug#731325: evince: "Save a Copy" creates file with wrong permissions

Holger Arnold holgerar at gmail.com
Wed Dec 4 10:48:43 UTC 2013


Package: evince
Version: 3.8.3-2
Severity: normal

Dear Maintainer,

when opening a read-only file in Evince, the "Save a Copy" command creates a
file which is also not writable.  I think this is not what users expect; when
creating a new file (which is what this command does), Evince should behave
like any other application and set the permissions according to the current
umask.  It makes no sense to copy the permissions of the opened file.

This case happens when opening a pdf file through Firefox/Iceweasel, which (at
least on my system) stores opened pdf files in /tmp using read-only
permissions.

Evince versions <= 3.4.x did not show this behavior (though it is possible that
this is triggered by a change in the way Firefox stores temporary downloaded
files).




-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.11-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages evince depends on:
ii  evince-common              3.8.3-2
ii  gnome-icon-theme-symbolic  3.10.1-1
ii  libatk1.0-0                2.10.0-2
ii  libc6                      2.17-93
ii  libcairo-gobject2          1.12.16-2
ii  libcairo2                  1.12.16-2
ii  libevdocument3-4           3.8.3-2
ii  libevview3-3               3.8.3-2
ii  libgail-3-0                3.8.4-1
ii  libgdk-pixbuf2.0-0         2.28.2-1
ii  libglib2.0-0               2.36.4-1
ii  libgtk-3-0                 3.8.4-1
ii  libice6                    2:1.0.8-2
ii  libnautilus-extension1a    3.8.2-2
ii  libpango-1.0-0             1.36.0-1
ii  libpangocairo-1.0-0        1.36.0-1
ii  libsecret-1-0              0.15-2
ii  libsm6                     2:1.2.1-2
ii  libx11-6                   2:1.6.2-1
ii  libxml2                    2.9.1+dfsg1-3
ii  shared-mime-info           1.0-1+b1
ii  zlib1g                     1:1.2.8.dfsg-1

Versions of packages evince recommends:
ii  dbus-x11  1.6.18-1
ii  gvfs      1.16.3-1+b2

Versions of packages evince suggests:
ii  nautilus      3.8.2-2
ii  poppler-data  0.4.6-4
ii  unrar         1:5.0.10-1

-- no debconf information



More information about the pkg-gnome-maintainers mailing list