Add the following in your /etc/samba/smb.conf file at the bottom
path = /path/to/your/folder/to/be/shared
available = yes
valid users = user1 user2 user3
read only = yes
browsable = yes
public = yes
writable = no
Note: above users should be on samba group
create / add user for samba
Run the following command to ...
When you've installed it using snap install, try looking inside ~/snap/minecraft-launcher-ot/67/.minecraft Another way to find it on any operating system is by starting the game (so you come at the menu with "Singleplayer" and "Multiplayer" on it), pressing options >> Resource Packs... >> Open Resource Pack Folder and then going one folder level higher.
Okay, a few things to note here:
Why are your saves under root? Don't run Minecraft with sudo, and then it should be stored in your home directory.
~ is a shorthand for your home directory. The command cd ~/root does not make any sense.
Your command should be formatted differently. Try running cd ~/Downloads and then java -jar Minecraft-Installer.jar.
Get your Java path using the command
The following is a possible output depending on your default Java version
java: /usr/bin/java /usr/share/java /usr/lib/jvm/jdk1.8.0_241/jre/bin/java
Maven need to pick the Java location (home) so you can export the Java path using the following command
Reinstallation does not always help. Create the directory '03@C7:8' in the home directory, and inside this directory create the file 'ync', where you need to write the launch configuration, which is located in the launcher itself (the file manages to be created before the error). I'm use TLauncher and configuration file looks like this:
# TLauncher ...