Public bug reported:

Steps to reproduce:
===================

1. Download a PDF from the internet.
2. When Firefox asks what to do with the file, choose the option to open it in 
Evince.
3. Once the PDF is open in Evince, do a File > Save as.
4. Observe that the file is created with the permissions 0400.

Correct behavior:
=================

Evince should follow the same permissions model as other programs, using
the umask to determine the default permissions, which would be 0644 on a
default Ubuntu machine.

Impact of the bug:
==================

Because of the incorrect permissions, it's impossible to directly
overwrite an affected PDF without manually fixing the permissions. It
makes no sense not to give the owner write permission by default, as any
situations where 0400 permissions were desirable would surely be corner
cases.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: evince 3.6.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic i686
ApportVersion: 2.6.1-0ubuntu6
Architecture: i386
Date: Fri Nov 23 18:24:52 2012
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-10-23 (30 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.utf8
 SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: evince (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 quantal running-unity

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

Title:
  Wrong permissions when using Save As

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to