barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

Can't start as user #145

Open ghost opened 10 years ago

ghost commented 10 years ago

Hello I'm trying to install mark2 following this tutorial: https://gist.github.com/vemacs/5663144

I can not make the server run by mark2, because the dependencies installed and mark2 only work with root.

error: server directory is owned by 'user', but mark2 is running as 'root'. please start the mark2 `sudo-u user mark2 start ...

The command 'sudo-u user mark2 start' returns the error:

No command 'mark2' found.

How I can run it if only root is allowed???

gsand commented 10 years ago

make sure to symlink the mark2 file.

then detach from root. and start the server as the username associated as the owner of those files.