
I thought that with the above permissions and group-ownership everyone in group http can do with that folder what it want.ĮDIT: I even added btsync to group http and it still didn't work, but I suppose that would have anyway only been necessary if I didn't explicitly state the group in the btsync. The next step is setting up a CIFS share. Call the first one data and the second one sync. Create two new datasets for your new volume. Resilio-sync (formerly BitTorrent Sync) uses the BitTorrent protocol to sync files and folders between all of your devices. You’ll need a few new datasets before moving forward. I'm also very much able to write to any folder on that disk with the alarm user. Check all the boxes, select set permissions recursively, and click change. I logged in and out with ssh and even rebooted the raspberry pi. I also triedĬode: Select all sudo su -g http btsync -c "touch /media/usb/Backup/test"

When I start btsync it complains that it can't write to /media/usb/Backup. It’s permission is set as 755 so only www-data user have write permission. Let’s say you want to sync the web root directory of your server such as /usr/share/nginx/ and this directory is owned by user www-data and group www-data. (If this doesn't work move on to Solution 2, Only if this does not work try adding the ADmin and give them read&write permission. The user running btsync process is the user who invokes the btsync command. Add yourself to the permissions and give yourself read&write permission. Backup has the following permissions:ĭrwxrwx- 5 alarm http 4096 Jan 21 14:00 Backup (file ctrl+click >Get Info >Sharing & Permissions) Your user account should be able to read and write. I have a folder on an external harddisk (mounted to /media/usb) called Backup. I installed the app BitTorrent-Sync, it has it's systemd service-file where I changed user and group from btsync:btsync to btsync:http (updated with daemon-reload). I have a raspberry-pi 2 with which I'm connected via ssh. Syncthing segments files into pieces, called blocks, to transfer. After completing all these changes, login to your Synology NAS web-interface as. Then specifiy a btsync webui 'login' and 'password', replacing 'enter here'. So for user1, this would be 9991, for user2, 9992, etc.

Also make sure that every user uses a different 'listen'-port for the webui. I'm having the hardest time understanding file/folder-permissions. On Windows, only the read only bit is synchronized.). Enter your correct IP/hostname, replacing '192.000.0.0'.
