szdavid Posted February 25, 2016 Report Share Posted February 25, 2016 Hi, I have installed Sync with the official ubuntu package It starts correctly and I added the btsync user to the group that owns my data (with a usermod -a -G xxxx btsync) But the files created are owned by btsync so my user xxxx has not any edit right on the files added by btsync I tried to change the /etc/init.d/btsync script in order to change the btsync_user to xxxx, stopped and restarted the process but it is still a process launched by the user btsync and not xxxx Did I miss something or a step ? Thanks Quote Link to comment Share on other sites More sharing options...
Remirus Posted March 2, 2016 Report Share Posted March 2, 2016 szdavid, it's not enough to change just one string. If you decide to modify user under which Sync will run you will need to modify all config-files. We reproduced that Sync creates files with read-only permissions and will try to change that behaviour. Quote Link to comment Share on other sites More sharing options...
AnnHashaway Posted March 8, 2016 Report Share Posted March 8, 2016 What additional files do you need the change in order to make btsync run as a different user? BTSYNC_USER=btsync The above shows in /etc/init.d/btsync. I have tried this change as well, but doesn't do it. Quote Link to comment Share on other sites More sharing options...
Remirus Posted March 17, 2016 Report Share Posted March 17, 2016 Starting from from 2.3.3 it was fixed. Now Sync creates files under 002 umask, so that you can add your user to "btsync" group to get read-write permissions for all files downloaded from another peers. 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.