19feet Posted July 26, 2013 Report Share Posted July 26, 2013 I use two linux servers in two different networks (192.168.ABC.X and 192.168.DEF.X) who are connected to each other via VPN.On both servers are the same folders /srv/sharedfolder. The data of this folders are synced with btsync. Both servers offers an access to the stored files for Windows clients without passwords etc. with Samba. The samba configuration is:[sharedfolder]path = /srv/sharedfolderpublic = yeswriteable = yesprintable = noguest ok = yescreate mask = 777directory mask = 777After syncing the data with btsync from one server to the other a windows client in the other network can open the synced file but not overwrite it. To do that I have to set the ownership of the files on the server in the other network from 770 to 777 manually after syncing.Is there a way to configure btsync or samba to keep the rights of the files? Quote Link to comment Share on other sites More sharing options...
dmason Posted July 26, 2013 Report Share Posted July 26, 2013 I may be looking at this the wrong way, but If btsync is a process running under a user on the linux machine I would try to adjust that account's umask to match what you want btsync to create, Quote Link to comment Share on other sites More sharing options...
Wolfpup67 Posted November 5, 2013 Report Share Posted November 5, 2013 im haveing a similar issue as im ruung the server version on my local server and it runs as root and all folders are not being set with with full perms plus they are not being made visable to my other systems till i have manually changed the user, group, and perms. once i do that they become visavle on my local network and i can access them with no issues. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.