Wrong permissions when using Save As

Bug #1082297 reported by Scott Severance
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

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)

Revision history for this message
Scott Severance (scott.severance) wrote :
Robert Roth (evfool)
Changed in evince (Ubuntu):
status: New → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in evince (Ubuntu):
importance: Undecided → Low
Revision history for this message
sojusnik (sojusnik) wrote :

Was a bug report sent to the developers? I'm asking, because I couldn't find a correlating bug report on:

https://bugzilla.gnome.org/browse.cgi?product=evince

Revision history for this message
Gustavo A. Díaz (gdiaz) wrote :

This bug still exist in 14.04. Any news or workaround? Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.