View Issue Details

IDProjectCategoryView StatusLast Update
0016281CentOS-7selinux-policypublic2019-07-18 20:10
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016281: SELinux is preventing /usr/bin/cp from 'create' accesses on the lnk_file user.
DescriptionDescription of problem:
SELinux is preventing /usr/bin/cp from 'create' accesses on the lnk_file user.

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

If you believe that cp should be allowed create access on the user lnk_file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
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 user [ lnk_file ]
Source cp
Source Path /usr/bin/cp
Port <Unknown>
Host (removed)
Source RPM Packages coreutils-8.22-23.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-229.el7_6.12.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.12.1.el7.x86_64 #1 SMP
                              Mon Apr 29 14:59:59 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-05-02 14:32:31 EDT
Last Seen 2019-05-02 14:32:31 EDT
Local ID e260d241-ce3c-441c-a48d-13f4b54bc40e

Raw Audit Messages
type=AVC msg=audit(1556821951.801:14662): avc: denied { create } for pid=140678 comm="cp" name="user" scontext=system_u:system_r:snappy_t:s0 tcontext=unconfined_u:object_r:snappy_home_t:s0 tclass=lnk_file permissive=1

type=SYSCALL msg=audit(1556821951.801:14662): arch=x86_64 syscall=symlink success=yes exit=0 a0=25309e0 a1=2532500 a2=21 a3=7fff0f8fc760 items=0 ppid=140361 pid=140678 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)

Hash: cp,snappy_t,snappy_home_t,lnk_file,create

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.21.3.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-07-18 20:10 sethgoldin New Issue