GNOME Bugzilla – Bug 748291
Evince "save as" reports error and ignores default protection acl
Last modified: 2018-05-22 16:13:36 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]$
Can you still reproduce the issue with a newer Evince? This could be a duplicate of Bug 692552 which was fixed in 2016.
No, the bug seems to be fixed with Evince 3.24.1 on Fedora 26
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
-- 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.