After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748291 - Evince "save as" reports error and ignores default protection acl
Evince "save as" reports error and ignores default protection acl
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: general
3.14.x
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-22 10:44 UTC by Nigel
Modified: 2018-05-22 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nigel 2015-04-22 10:44:39 UTC
Evince "save as" reports "Error setting extended attribute "security.selinux"
Operation not supported

The file is saved despite the error, but with incorrect permissions and ownership.

Detail:

Filesystem /silson is an nfs 3 mount. test_tb_saveas is result of right-clicking an attachment in Thunderbird and selecting save as (for comparison: correct behaviour, no errors). test_evince_saveas is result of double-clicking on the same attachment to open it with evince, then using evince's "save as" menu option. Group protection is GID nigel, permission r, not GID silson, permission rw as requested by default acl on the folder and g:rws on the folder.

Linux distribution is Fedora 20.

[atlas: allshare2]$ cd test
[atlas: test]$ pwd
/silson/allshare2/test
[atlas: test]$ ls -ld .
drwxrwsr-x+ 5 nigel silson 4096 Apr 22 11:16 .
[atlas: test]$ ls -l *.pdf
-rw-r--r--. 1 nigel nigel  35414 Apr 22 11:16 test_evince_saveas.pdf
-rw-rw-r--. 1 nigel silson 35414 Apr 22 11:15 test_tb_saveas.pdf
[atlas: test]$ getfacl /silson/allshare2/test
getfacl: Removing leading '/' from absolute path names
# file: silson/allshare2/test
# owner: nigel
# group: silson
# flags: -s-
user::rwx
group::rwx
other::r-x
default:user::rwx
default:group::rwx
default:other::r-x
[atlas: test]$
Comment 1 Germán Poo-Caamaño 2017-10-02 14:50:24 UTC
Can you still reproduce the issue with a newer Evince?

This could be a duplicate of Bug 692552 which was fixed in 2016.
Comment 2 Nigel 2017-10-03 11:57:18 UTC
No, the bug seems to be fixed with Evince 3.24.1 on Fedora 26
Comment 3 Nigel 2017-10-03 12:12:14 UTC
Oops  NOT FIXED ignore my last.

[atlas: test]$ ls -l *2.pdf
-rw-rw-r--+ 1 nigel nigel  7945 Oct  3 12:52 test_evince_savesa2.pdf
-rw-rw-r--+ 1 nigel silson  496 Oct  3 12:53 test_tb_saveas2.pdf

There's no longer any explicit error reported, but the group ownership is still wrong.

[atlas: test]$ ls -ld ../test
drwxrwsr-x+ 6 nigel silson 4096 Oct  3 12:54 ../test

Ignoring the directory SGID bit on test
Comment 4 GNOME Infrastructure Team 2018-05-22 16:13:36 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/591.