Bug 1335647 - SELinux is preventing totem-video-thu from 'write' accesses on the directory .cache.
Summary: SELinux is preventing totem-video-thu from 'write' accesses on the directory ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d7a44e394c412974f0fced33206...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-12 18:44 UTC by Sam
Modified: 2016-10-25 23:49 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-20 13:24:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Sam 2016-05-12 18:44:47 UTC
Description of problem:
SELinux is preventing totem-video-thu from 'write' accesses on the directory .cache.

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

If cree que de manera predeterminada, totem-video-thu debería permitir acceso write sobre .cache directory.     
Then debería reportar esto como un error.
Puede generar un módulo de política local para permitir este acceso.
Do
allow this access for now by executing:
# ausearch -c totem-video-thu --raw | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023
Target Context                system_u:object_r:admin_home_t:s0
Target Objects                .cache [ dir ]
Source                        totem-video-thu
Source Path                   totem-video-thu
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-182.fc24.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.5.2-302.fc24.x86_64 #1 SMP Wed
                              Apr 27 14:22:29 UTC 2016 x86_64 x86_64
Alert Count                   1
First Seen                    2016-05-12 13:37:18 CDT
Last Seen                     2016-05-12 13:37:18 CDT
Local ID                      03220c56-98d3-4cf6-aab4-f316dcf94e2d

Raw Audit Messages
type=AVC msg=audit(1463078238.31:359): avc:  denied  { write } for  pid=3199 comm="totem-video-thu" name=".cache" dev="dm-0" ino=2097160 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=dir permissive=0


Hash: totem-video-thu,thumb_t,admin_home_t,dir,write

Version-Release number of selected component:
selinux-policy-3.13.1-182.fc24.noarch

Additional info:
reporter:       libreport-2.7.0
hashmarkername: setroubleshoot
kernel:         4.5.2-302.fc24.x86_64
reproducible:   Not sure how to reproduce the problem
type:           libreport

Potential duplicate: bug 844924

Comment 1 Lukas Vrabec 2016-05-20 13:24:39 UTC
You really should not be running nautilus as root, as this shows you have processes running as root based on the content of some CD or USB Stick.


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