QuillOmega0
Dabbler
- Joined
- Nov 23, 2014
- Messages
- 11
For the past several hours I've been trying to setup Bittorrent Sync on my FreeNAS box.
I got it working, I can have it create shares it uploads and downloads fine. I created the btsync user in my main account to match the jail following the isntructions in http://blog.bittorrent.com/2014/02/...-freenas-with-bittorrent-sync-using-a-plugin/
However when it comes to BTSync creating files/folders under my dataset, it sets the permission as 644 for the files and folders. The user and group is btsync for these files.
The problem is I'm browsing the share as another user, and this outright prevents me from writing any files to the share that btsync creates. I have done exhaustive research and found no way of changing the umask for the btsync process to 002 which would solve my dilemma as that would set any files it creates to 664 (if I'm in the btsync group anyway).
Is there anyway I can change the umask for the daemon or even that entire jail so that any files that the btsync process creates would be writable by the group?
I got it working, I can have it create shares it uploads and downloads fine. I created the btsync user in my main account to match the jail following the isntructions in http://blog.bittorrent.com/2014/02/...-freenas-with-bittorrent-sync-using-a-plugin/
However when it comes to BTSync creating files/folders under my dataset, it sets the permission as 644 for the files and folders. The user and group is btsync for these files.
The problem is I'm browsing the share as another user, and this outright prevents me from writing any files to the share that btsync creates. I have done exhaustive research and found no way of changing the umask for the btsync process to 002 which would solve my dilemma as that would set any files it creates to 664 (if I'm in the btsync group anyway).
Is there anyway I can change the umask for the daemon or even that entire jail so that any files that the btsync process creates would be writable by the group?