Search the Community
Showing results for tags 'samba'.
Due to the fact that btsync is not yet available pre-packaged for CentOS7, I'm loathe to install it as-is on a particular installation. The server I wish to install it on is a file server that also happens to have KVM virtual guests - thus a workaround is to install it on an Ubuntu Guest which then accesses the file server over CIFS. The main problem in my mind is that I don't think CIFS supports inotify properly - but that shouldn't be an issue because nothing other than btsync will be accessing the storage directly. Are there any other pitfalls to doing it this way or other alternatives? Also, anybody had experience doing this the same or similar way? Worst-case I'll just install btsync directly on the CentOS7 server anyway. It just feels messy to be installing things without using the package manager.
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/sharedfolder public = yes writeable = yes printable = no guest ok = yes create mask = 777 directory mask = 777 After 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?