Bug 1476523 - SELinux is preventing evince-thumbnai from 'write' accesses on the file .gnome_desktop_thumbnail.897T3Y.
SELinux is preventing evince-thumbnai from 'write' accesses on the file .gnom...
Status: NEW
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Lukas Vrabec
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2017-07-29 16:23 EDT by Gavin Simpson
Modified: 2017-07-29 16:23 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Gavin Simpson 2017-07-29 16:23:24 EDT
Description of problem:
SELinux is preventing evince-thumbnai from 'write' accesses on the file .gnome_desktop_thumbnail.897T3Y.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that evince-thumbnai should be allowed write access on the .gnome_desktop_thumbnail.897T3Y file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'evince-thumbnai' --raw | audit2allow -M my-evincethumbnai
# semodule -X 300 -i my-evincethumbnai.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                unconfined_u:object_r:user_home_t:s0
Target Objects                .gnome_desktop_thumbnail.897T3Y [ file ]
Source                        evince-thumbnai
Source Path                   evince-thumbnai
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-260.3.fc26.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.11.11-300.fc26.x86_64 #1 SMP Mon
                              Jul 17 16:32:11 UTC 2017 x86_64 x86_64
Alert Count                   158
First Seen                    2017-05-21 15:23:10 CST
Last Seen                     2017-07-29 14:22:06 CST
Local ID                      f1441a4b-2b48-4a5b-a6a7-05130ca5d11d

Raw Audit Messages
type=AVC msg=audit(1501359726.711:269): avc:  denied  { write } for  pid=3372 comm="evince-thumbnai" name=".gnome_desktop_thumbnail.897T3Y" dev="dm-2" ino=9967306 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=0

Hash: evince-thumbnai,thumb_t,user_home_t,file,write

Version-Release number of selected component:

Additional info:
component:      selinux-policy
reporter:       libreport-2.9.1
hashmarkername: setroubleshoot
kernel:         4.11.11-300.fc26.x86_64
type:           libreport

Potential duplicate: bug 838186

Note You need to log in before you can comment on or make changes to this bug.