Make executiable

I added executable privilage to the file 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

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!


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

chmod +rx filename