Hide Forgot
Description of problem: SELinux is preventing chmod from 'setattr' accesses on the file cmd. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that chmod should be allowed setattr access on the cmd 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 chmod /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:system_mail_t:s0 Target Context system_u:object_r:root_t:s0 Target Objects cmd [ file ] Source chmod Source Path chmod Port <Unknown> Host (removed) Source RPM Packages Target RPM Packages Policy RPM selinux-policy-3.13.1-158.2.fc23.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 4.3.3-301.fc23.x86_64 #1 SMP Fri Jan 15 14:03:17 UTC 2016 x86_64 x86_64 Alert Count 18 First Seen 2016-01-18 11:30:29 CET Last Seen 2016-01-19 21:57:21 CET Local ID 58646453-a5d6-4bf0-b190-49ddb2591dfc Raw Audit Messages type=AVC msg=audit(1453237041.165:676): avc: denied { setattr } for pid=3034 comm="chmod" name="cmd" dev="dm-0" ino=2752567 scontext=system_u:system_r:system_mail_t:s0 tcontext=system_u:object_r:root_t:s0 tclass=file permissive=1 Hash: chmod,system_mail_t,root_t,file,setattr Version-Release number of selected component: selinux-policy-3.13.1-158.2.fc23.noarch Additional info: reporter: libreport-2.6.3 hashmarkername: setroubleshoot kernel: 4.3.3-301.fc23.x86_64 type: libreport Potential duplicate: bug 1239279
*** This bug has been marked as a duplicate of bug 1300066 ***