Stronginthearm

Members
  • Content Count

    5
  • Joined

  • Last visited

Everything posted by Stronginthearm

  1. Update on further research: Changing the permissions to 777 has no effect. After changing the owner to rslsync and accessing the folder with Sync I can change the owner back to root and Sync can still access the folder. So probably Sync has some kind of internal database where it stores assumed permissions?
  2. I want to sync a folder which has the owner:group root:system and the permissions drwxrwxr-x (775). I've edited /lib/systemd/system/resilio-sync.service to run sync as user:group rslsync:system. I've edited /etc/passwd so tha the user rslsync has the group system. I've made a systemctl daemon-reload and a systemctl restart resilio-sync. Sync runs but won't write to the folder and says it has no permission. When I login as user rslsync I can obviously write to the folder because I have sufficient group permissions. Only when I change the owner of the folder to rsls
  3. Some more weird behaviour: I've created on each host a file with owner rslsync:staff and 664 permissions. On 3 hosts this doesn't sync and in the web interface I get the "locked files" error - Not enough permissions (lsof shows nothing). On another host all files sync. On the other hand, if I change the group permissions of the .sync folder from staff to rslsync everything works fine and if I sync to some new folder the group owner of everything is rslsync, so it seems Resilio Sync ignores the /etc/passwd, but other than the Yeasoft version of Bittorrent Sync there doesn't seem to be a po
  4. I'm upgrading my sync installations on my servers from the yeasoft version (btsync 2.0.95) to the new official Debian/Ubuntu version (rslsync 2.4.4) and I'm encountering some weird permission issues. On some of my servers sync seems to ignore group permissions. Example: sync runs as user rslsync, group staff rslsync:x:104:50::/var/lib/btsync:/bin/false staff:x:50: I try to sync the directory /etc/nagios/nrpe.d/ root@Siamorphe:~# ls -alh /etc/nagios drwxr-xr-x 3 root root 4,0K Mär 11 15:10 . drwxr-xr-x 99 root root 4,0K Mär 15 06:44 .. -rw-r--r-- 1 root root 8,1