Btsync + Thecus (Changes Since Latest Binaries) - File Creation Rights

Recommended Posts


I'm using BTSync (Pro private) on serveral devices. Right now I have the problem with Thecus device (intel X64 bin).

Since very latest builds I cannot control ownership of newly created files they are always created as root:root.


Before I had option to use config file name to specify owner of the btsync files.
sync.nobody.users.conf -> sync.uid.gid.conf
Right now this is now working.

There was a option to put credentials in config file - but this part is also not working:

By specifying DAEMON_UID and DAEMON_GID it is possible to specify under which credentials the instance runs. In this case it MUST be assured that the instance is able to read and write all files it must access:

Sync Team - is there any way to control btsync file owners now?

Share this post

Link to post
Share on other sites

DAEMON_UID and DAEMON_GID commands are used in tuxpoldo's package, which parses config file and apply umask command.

Sync doesn't do anything with them. So it is necessary to use umask manually. Here is an example:

umask 0000path/btsync —config path/config_name

Share this post

Link to post
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.