MinecraftServerControl / mscs

Powerful command-line control for UNIX and Linux powered Minecraft servers
https://minecraftservercontrol.github.io
BSD 2-Clause "Simplified" License
485 stars 62 forks source link

Access denied exception #252

Closed DependentMacaroon closed 4 years ago

DependentMacaroon commented 4 years ago

When starting the server, it fails with this message: Failed to start the minecraft server java.nio.file.AccessDeniedException: ./UbuntuCraft/session.lock It worked fine until I installed Forge, maybe thats the issue. Running a 1.16.1 server with the latest forge version. No mods installed.

zanix commented 4 years ago

I would check your file permissions and that they are owned by the mscs user minecraft If not, run chown -R minecraft:minecraft /opt/mscs/worlds/name

sandain commented 4 years ago

@DependentMacaroon: Hopefully you figured out the permission issues you were having. I'm going to close this issue, but feel free to reopen it if needed.