Affects Version/s: 2.0.1004 (Mac OS)
Fix Version/s: 2.1.1216 (Windows) / 2.1.1217 (Mac OS) / 2.1.1218 (Linux)
Environment:Debian GNU/Linux 9 Stretch
Affects Version/s: 2.0.1005-dev-linux.
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.
- 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.