Bug 1146736 - SELinux is preventing totem-video-thu from 'write' accesses on the directory Pictures.
Summary: SELinux is preventing totem-video-thu from 'write' accesses on the directory ...
Keywords:
Status: CLOSED DUPLICATE of bug 820860
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:d2f6e833bb53226303927f293c4...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-26 00:24 UTC by Moez Roy
Modified: 2014-09-26 08:12 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-26 08:12:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Moez Roy 2014-09-26 00:24:14 UTC
Description of problem:
tried to create screenshot gallery in totem
SELinux is preventing totem-video-thu from 'write' accesses on the directory Pictures.

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

If you believe that totem-video-thu should be allowed write access on the Pictures directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep totem-video-thu /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.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                Pictures [ 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-83.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.17.0-0.rc6.git2.1.fc22.x86_64 #1
                              SMP Wed Sep 24 14:05:08 UTC 2014 x86_64 x86_64
Alert Count                   1
First Seen                    2014-09-25 17:21:43 PDT
Last Seen                     2014-09-25 17:21:43 PDT
Local ID                      413f0c84-c9ef-4403-ac55-05759159b65f

Raw Audit Messages
type=AVC msg=audit(1411690903.876:643): avc:  denied  { write } for  pid=19540 comm="totem-video-thu" name="Pictures" dev="sda3" ino=3012872 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir permissive=0


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

Version-Release number of selected component:
selinux-policy-3.13.1-83.fc22.noarch

Additional info:
reporter:       libreport-2.2.3
hashmarkername: setroubleshoot
kernel:         3.17.0-0.rc6.git2.1.fc22.x86_64
type:           libreport

Potential duplicate: bug 820860

Comment 1 Miroslav Grepl 2014-09-26 08:12:07 UTC

*** This bug has been marked as a duplicate of bug 820860 ***


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