LIGISTX
Guru
- Joined
- Apr 12, 2015
- Messages
- 525
Did you add the 983 UID to the same group as your samba owner in FreeNAS. Also probably will need to add a group inside of the plugin jail that corresponds with the GID and add the syncthing user to it in the jail as well.
My guess is you let FreeNAS just create a new group for syncthing user you created. Also will need to make the folder group writeable so that syncthing can write to it so I think the folder should be 77X (the X being what the world can do, so 0 if nothing 4 if read only 6 if read and write and 7 if anything and everything.)
I didn't allow it to create a group on user creation, I added it to my SMB (Samba, same thing yea?) group. So it at the group level should have the correct permissions for the dataset directory, except for the GID part within the jail itself. How do I go about adding that?
I assume I have to jexec into the jail, but what do I do after that?
Like this: ?
Code:
pw groupadd -n GROUP -g GID pw groupmod GROUP -m USER