Make xfusioncorp.sh executiable

I added executable privilage to the file xfusioncorp.sh in app server 3. please see screen shot. Cab anyone show me a better way to do tasks?

Hello upinfo23,

let me help you with your concern.
there is no screenshot added to the post so please provide. mean while to make a script executable please use this command

chmod 640 filename.sh

thanks,
KodeKloud support

Hello Ayman,

how is chmod 640 making it executable?
6 = read and write
4 = read
0 = no permissions

Can you please help me understand.

I did a “chmod +x filename” … but the solution was not accepted!

@anupammajhi

Please try to give read permission to the file also. If it can’t be read, it can’t be executed.

chmod +rx filename

The file does not exist for me in /tmp on the stapp03 server, why is that?