Bug 896217 - SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses on the directory /home/arifiauo/Downloads.
Summary: SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses ...
Keywords:
Status: CLOSED DUPLICATE of bug 820860
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
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: 2013-01-16 21:05 UTC by Arif Tri Waluyo
Modified: 2013-01-16 21:11 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-16 21:11:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Arif Tri Waluyo 2013-01-16 21:05:36 UTC
Description of problem:
Play movie, create screenshot gallery, save to home directory, and selinux notification appear.
SELinux is preventing /usr/bin/totem-video-thumbnailer from 'write' accesses on the directory /home/arifiauo/Downloads.

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

If you believe that totem-video-thumbnailer should be allowed write access on the Downloads 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                /home/arifiauo/Downloads [ dir ]
Source                        totem-video-thu
Source Path                   /usr/bin/totem-video-thumbnailer
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           totem-3.6.3-1.fc18.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.11.1-67.fc18.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.7.2-201.fc18.x86_64 #1 SMP Fri
                              Jan 11 22:16:23 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-01-17 04:01:48 WIT
Last Seen                     2013-01-17 04:01:48 WIT
Local ID                      3cec4e92-249b-4104-a968-a9610bd112c8

Raw Audit Messages
type=AVC msg=audit(1358370108.355:518): avc:  denied  { write } for  pid=13335 comm="totem-video-thu" name="Downloads" dev="sda3" ino=2621456 scontext=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=dir


type=SYSCALL msg=audit(1358370108.355:518): arch=x86_64 syscall=open success=no exit=EACCES a0=19355e0 a1=241 a2=1b6 a3=238 items=0 ppid=1 pid=13335 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 ses=2 tty=(none) comm=totem-video-thu exe=/usr/bin/totem-video-thumbnailer subj=unconfined_u:unconfined_r:thumb_t:s0-s0:c0.c1023 key=(null)

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

audit2allow

#============= thumb_t ==============
#!!!! The source type 'thumb_t' can write to a 'dir' of the following types:
# user_home_dir_t, thumb_tmp_t, tmpfs_t, user_fonts_cache_t, tmp_t, user_tmp_t, thumb_home_t, cache_home_t, xdm_tmp_t, gstreamer_home_t, thumb_tmpfs_t

allow thumb_t user_home_t:dir write;

audit2allow -R

#============= thumb_t ==============
#!!!! The source type 'thumb_t' can write to a 'dir' of the following types:
# user_home_dir_t, thumb_tmp_t, tmpfs_t, user_fonts_cache_t, tmp_t, user_tmp_t, thumb_home_t, cache_home_t, xdm_tmp_t, gstreamer_home_t, thumb_tmpfs_t

allow thumb_t user_home_t:dir write;


Additional info:
hashmarkername: setroubleshoot
kernel:         3.7.2-201.fc18.x86_64
type:           libreport

Potential duplicate: bug 820860

Comment 1 Daniel Walsh 2013-01-16 21:11:18 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.