Gianni

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Gianni

  1. Hi everyone, new here. I've got an issue related to this. I followed this great tutorial on how to keep my files not only synchronized between computers by means of BTSync but also available via the web interface of the ownCloud software. The problem is, Sync needs the folder it works on to be owned by the user that started the sync process (in my case the user 'pi' off the group 'users'), while ownCloud is a web service based on nginx web server, which I'm quite sure runs under the 'www-data' user which only belongs to the 'www-data' user group. So everytime I change the permission ownership for my shared folder to the 'pi' user or to the entire 'users' group, BTSync is able to synchronize the files in that folder, but the ownCloud gui doesnt show the content of it and says "You don't have write permissions here"; while if I change ownership of that folder to either the 'www-data' group or its sole member the 'www-data' user, now ownCloud is happy to let me see, download and upload files from it but suddenly BTSync is not able to synch it with my other computers and its web UI says it "Can't open the destination folder" (be careful I know it's not the same situation addressed in the unofficial FAQ's for this error message). It's a mystery why this didn't happen to the dev who posted that tutorial. Maybe it's because his shared folder is on an external mounted drive and mine is not? Anyways, I'm quite sure I could solve this by creating a new group ('btsyncandowncloudusers" would be a good name) and adding both www-data and 'pi' who started BTSync to it, then changing permission to the shared folder so it is owned by this new group. Is this the best way to solve the problem? Or shoud I add pi to the www-data group or the www-data user to the users group and add set ownership of the folder to either of the groups? Or is a better idea (probably not) to log into www-data user and run BTSync from it then let just that user to be the owner of the shared folder? TIA, hope I was clear enough-