i make the file executable for all (user , group and other) and add set user id and in both give me error
Permission of --x--x--x
is not sufficient to execute the file. You must also grant read access.
Why? The file has to be read from the disk into memory before it can be executed.
sudo chmod +rx xfusioncorp.sh
Got it, so the file must be read into memory before execution. Thanks for the clear explanation!