SE Linux Issue

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?

• Manage the SELinux policy rules that determine the default context for (new) files and directories using the semanage fcontext command.
• Apply the context defined by the SELinux policy to (existing) files and directories using the restorecon command.