-
Bug
-
Resolution: Fixed
-
2.0.1004 (Mac OS)
-
None
-
Debian GNU/Linux 9 Stretch
-
Unconfirmed
Affects Version/s: 2.0.1005-dev-linux.
The bug
On the Linux beta launcher, when launching the game, the working directory isn't set to the game directory like the macOS/Windows launchers do. Instead, it is kept as /opt/minecraft-launcher. This causes the game to try to save logs in /opt/minecraft-launcher/logs (because logs are always saved in the current directory instead of the game directory), usually causing a permission denied error.
How to reproduce
- Enable Open output log when the game starts in the Settings tab on the launcher.
- Run the game.
- Notice that no logs are saved in ~/.minecraft/logs. In the output log window, you can see that the game tries to save them in logs (in the working directory), which results in a Permission denied error.
- Manually create the /opt/minecraft-launcher/logs directory and chown it to your user.
- Start the game again.
- Notice that the logs are being written to that directory.