I Have given the executable permission for the file but showing task got failed
- ‘script’ is not executable on App Server 2
can any one tell me what is the issue here?
here is the SS for the same.
I Have given the executable permission for the file but showing task got failed
here is the SS for the same.
Hi,
either run the script as SUDO user
or
you need to give the read permission too.
sudo chmod 755 xfusioncorp.sh
I am sure this will solve the issue.
have a nice day!
Thanks aryan after the failed attempt i have redo the task and given 777 permission and task got successful
You’re welcome, kindly give that solution a like.
Happy learning!
very strange that 777 works and help test pass but XXX doesnt.
Wouldnt 777 be a greater permission to all users.
Hi @Sonal-Sharma,
The right permission is 555 (r-xr-xr-x) . Only given xxx will not provide executable
you need to add read
(Before execute the script he need to read it).
555 worked like a charm