View Issue Details

IDProjectCategoryView StatusLast Update
0016849CentOS-7selinux-policypublic2019-12-19 15:00
Reporternvycent 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016849: SELinux is preventing /usr/bin/cp from 'create' accesses on the directory /home/centos/snap/keepassxc/625/.config/gtk-3.0.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/cp from 'create' accesses on the directory /home/nvycent/snap/keepassxc/625/.config/gtk-3.0.

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

If you believe that cp should be allowed create access on the gtk-3.0 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:
# ausearch -c 'cp' --raw | audit2allow -M my-cp
# semodule -i my-cp.pp

Additional Information:
Source Context system_u:system_r:snappy_t:s0
Target Context unconfined_u:object_r:snappy_home_t:s0
Target Objects /home/nvycent/snap/keepassxc/625/.config/gtk-3.0 [
                              dir ]
Source cp
Source Path /usr/bin/cp
Port <Unknown>
Host (removed)
Source RPM Packages coreutils-8.22-24.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.4.1.el7.x86_64 #1 SMP
                              Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64
Alert Count 2
First Seen 2019-11-13 11:08:44 +08
Last Seen 2019-11-13 11:08:44 +08
Local ID 0d95e702-cfc4-49c4-bb38-f0c2f422cef1

Raw Audit Messages
type=AVC msg=audit(1573614524.528:11932): avc: denied { create } for pid=10881 comm="cp" name="gtk-3.0" scontext=system_u:system_r:snappy_t:s0 tcontext=unconfined_u:object_r:snappy_home_t:s0 tclass=dir permissive=1


type=SYSCALL msg=audit(1573614524.528:11932): arch=x86_64 syscall=mkdir success=yes exit=0 a0=2613fd0 a1=1c0 a2=e00ea a3=6d6f685f79707061 items=2 ppid=10362 pid=10881 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=cp exe=/usr/bin/cp subj=system_u:system_r:snappy_t:s0 key=(null)

type=CWD msg=audit(1573614524.528:11932): cwd=/

type=PATH msg=audit(1573614524.528:11932): item=0 name=/home/nvycent/snap/keepassxc/625/.config/ inode=918688 dev=fd:00 mode=040700 ouid=0 ogid=0 rdev=00:00 obj=unconfined_u:object_r:snappy_home_t:s0 objtype=PARENT cap_fp=0000000000000000 cap_fi=0000000000000000 cap_fe=0 cap_fver=0

type=PATH msg=audit(1573614524.528:11932): item=1 name=/home/nvycent/snap/keepassxc/625/.config/gtk-3.0 inode=918711 dev=fd:00 mode=040700 ouid=0 ogid=0 rdev=00:00 obj=unconfined_u:object_r:snappy_home_t:s0 objtype=CREATE cap_fp=0000000000000000 cap_fi=0000000000000000 cap_fe=0 cap_fver=0

Hash: cp,snappy_t,snappy_home_t,dir,create

Version-Release number of selected component:
selinux-policy-3.13.1-252.el7.1.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.9.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hash6c30267efa95755d417c454d7cc1247d2ab625e1d7b6d864e061293f9026f0ea
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-19 15:00 nvycent New Issue