Dan Sherman
Cadet
- Joined
- Apr 28, 2014
- Messages
- 5
I have a cifs share with 4 users, all in one group. All of the permissions for the share are 660, and everything is great.
I'm trying to add a btsync plugin to sync the share with our laptops. I have it installed and running, and everything works the way it should, except for one debilitating problem: btsync sets the permissions on any file it adds to 644, so users on the LAN using the cifs share can't save changes.
The linux versions of btsync support a umask flag, but the BSD one doesn't yet. I monkeyed around with the rc.d script for btsync, trying to add `umask 002` manually, but it doesn't seem to work. I even installed a debian jail and the linux version of btsync, but that quickly became a huge headache, so I thought I'd ask around.
Am I missing something here?
PS. I saw this: http://forums.freenas.org/index.php?threads/btsync-plugin-permission-issue.18215/, but I can't get btsync to set permissions of 660.
I'm trying to add a btsync plugin to sync the share with our laptops. I have it installed and running, and everything works the way it should, except for one debilitating problem: btsync sets the permissions on any file it adds to 644, so users on the LAN using the cifs share can't save changes.
The linux versions of btsync support a umask flag, but the BSD one doesn't yet. I monkeyed around with the rc.d script for btsync, trying to add `umask 002` manually, but it doesn't seem to work. I even installed a debian jail and the linux version of btsync, but that quickly became a huge headache, so I thought I'd ask around.
Am I missing something here?
PS. I saw this: http://forums.freenas.org/index.php?threads/btsync-plugin-permission-issue.18215/, but I can't get btsync to set permissions of 660.