Bug 835624 - SELinux is preventing /usr/bin/okular from 'write' accesses on the file /home/eddie/Desktop/.directory.
Summary: SELinux is preventing /usr/bin/okular from 'write' accesses on the file /home...
Keywords:
Status: CLOSED DUPLICATE of bug 834972
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:86b612ea6dd662d4ec54201e745...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-26 16:02 UTC by eddie_strantor
Modified: 2012-06-27 05:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-27 05:27:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description eddie_strantor 2012-06-26 16:02:43 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.4.3-1.fc17.x86_64
time:           Tue 26 Jun 2012 06:02:08 PM CEST

description:
:SELinux is preventing /usr/bin/okular from 'write' accesses on the file /home/eddie/Desktop/.directory.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that okular should be allowed write access on the .directory file 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 okular /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c
:                              0.c1023
:Target Context                unconfined_u:object_r:user_home_t:s0
:Target Objects                /home/eddie/Desktop/.directory [ file ]
:Source                        okular
:Source Path                   /usr/bin/okular
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           okular-4.8.3-1.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-132.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.4.3-1.fc17.x86_64 #1 SMP Mon Jun
:                              18 19:53:17 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    Tue 26 Jun 2012 06:01:16 PM CEST
:Last Seen                     Tue 26 Jun 2012 06:01:16 PM CEST
:Local ID                      82e50d83-4676-4aec-9f40-c5c5bc19daa0
:
:Raw Audit Messages
:type=AVC msg=audit(1340726476.114:119): avc:  denied  { write } for  pid=4673 comm="okular" name=".directory" dev="dm-2" ino=6553679 scontext=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1340726476.114:119): arch=x86_64 syscall=access success=no exit=EACCES a0=1726268 a1=2 a2=1726268 a3=7a items=0 ppid=4672 pid=4673 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=okular exe=/usr/bin/okular subj=unconfined_u:unconfined_r:mozilla_plugin_t:s0-s0:c0.c1023 key=(null)
:
:Hash: okular,mozilla_plugin_t,user_home_t,file,write
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-06-27 05:27:57 UTC

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


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