arretx
Cadet
- Joined
- Feb 20, 2021
- Messages
- 4
This is the first time I've installed Syncthing outside of Ubuntu and inside this Truenas system, so it's a bit new to me.
I've created a share in Truenas. The pool is "Marvel". Below that is a dataset called "Superheroes". Below that is another dataset called "Ironman"
/Marvel/Superheroes/Ironman
I installed Syncthing which was placed in a Jail. The default sync folder for syncthing is /Sync inside of the jail.
I stopped the Jail and added a mount point that connected the Jail to my share:
SMB Share = /Marvel/Superheroes/Ironman/familyMedia
My goal is to send my MacBook Pro /Users/<user>/Pictures folder to this SMB share. If I leave Syncthing alone completely, I can sync from my macbook to the /Sync folder. However, with the Mount Point defined in the Jail, Syncthing is unable to write to the SMB share.
Normally I run Syncthing on Ubuntu as syncthing@syncthing.service and then I "setfacl" on all folders that need to sync with that service so syncthing has access.
In this case, I don't know how to make the connection between the Jail and the SMB share to give the Jail's syncthing user full access to the SMB share for the sync'd files.
How do I:
a) determine which user account syncthing is running under inside of the Jail.
b) setfacl on the SMB share such that this Jail user can have access to the SMB share?
Thanks!
I've created a share in Truenas. The pool is "Marvel". Below that is a dataset called "Superheroes". Below that is another dataset called "Ironman"
/Marvel/Superheroes/Ironman
I installed Syncthing which was placed in a Jail. The default sync folder for syncthing is /Sync inside of the jail.
I stopped the Jail and added a mount point that connected the Jail to my share:
SMB Share = /Marvel/Superheroes/Ironman/familyMedia
My goal is to send my MacBook Pro /Users/<user>/Pictures folder to this SMB share. If I leave Syncthing alone completely, I can sync from my macbook to the /Sync folder. However, with the Mount Point defined in the Jail, Syncthing is unable to write to the SMB share.
Normally I run Syncthing on Ubuntu as syncthing@syncthing.service and then I "setfacl" on all folders that need to sync with that service so syncthing has access.
In this case, I don't know how to make the connection between the Jail and the SMB share to give the Jail's syncthing user full access to the SMB share for the sync'd files.
How do I:
a) determine which user account syncthing is running under inside of the Jail.
b) setfacl on the SMB share such that this Jail user can have access to the SMB share?
Thanks!