Hello,
I was searching the web on how to configure SE Linux to run xmrig, a mining program.
There are two SE linux command directives a user suggested to execute to allow SELinux to work properly with xmrig:
semanage fcontext -a "/home/USER/xmrig/xmrig" -t bin_t
restorecon -rv /home/USER/xmrig
I understand why the first line is needed but why would we need to run restorecon on the folder where the miner executable is located?