I need some help with mineos and file permissions , please

Status
Not open for further replies.

vinceGee

Cadet
Joined
Feb 12, 2018
Messages
1
I had to re-install the plugin, so I had copied the game files off to another computer, and once I had it all done, I moved the files back.
But I think the permissions aren't correct, I created a world to check permissions (Wrld5) and I see that the user is suppose to be 199 199
But my user is "root" "wheel".

What do I need to do to give the games account access to this folder? Would really appreciate any help.

[root@freenas /mnt/Default/jails/mineos_1/var/games/minecraft/servers]# ls -l
total 128883
drwxrwxr-x 4 root wheel 14 Feb 12 19:23 World04
-rw-rw-r-- 1 root wheel 65926417 Feb 12 19:34 World04.zip
drwxrwxr-x 2 199 199 5 Feb 12 20:09 Wrld5
 
Joined
Jul 10, 2016
Messages
521
Welcome to the Forums, Vince! The ID 199 corresponds with the user mcserver in the mineos_1 jail.

The command you're looking for is chown. I would recommend to run this from within the jail, not from the FreeNAS host. Go go to the command line in your jail and type the following:
Code:
cd /var/games/minecraft/servers
chown -R mcserver:mcserver *
 
Status
Not open for further replies.
Top