Minecraft does not start on the root server with the start.sh command?

le
- in Servers
4

I have a root server and want to run a Minecraft server on it so that I can get into the folder I enter "cd / home / server" in the console but when I want to start the MC server with "./start.sh" the message comes up * -bash: ./start.sh: No authorization * and I have no idea why.

I would appreciate an answer.

za

Sudo chmod + x. / start.sh
sh./start.sh

kn

But first see if the file can be executed at all.

Then check who owns the files and what permissions the files have for owner, group and everyone.

If you are not the owner, you either log in with the owner or change the owner.

Alternatively, you can add your current user to the group who owns the file, provided that the group is allowed to run the file

Ap

I would rather

sudo chmod 744 start.sh

use, because with + x the execute right is set for everyone.

za

Of course you can do it too.