Entry point script not executable - permission denied

Can you share, why you feel your post adds any value over the already proposed and accepted solution?

Note: the -R argument will apply the permissions to all files in the directory, which can result in undesired effects.