Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BTSync] File Permissions Not Mirrored #1243

Closed
Bridgesltd opened this issue Sep 16, 2014 · 2 comments
Closed

[BTSync] File Permissions Not Mirrored #1243

Bridgesltd opened this issue Sep 16, 2014 · 2 comments

Comments

@Bridgesltd
Copy link

@Bridgesltd Bridgesltd commented Sep 16, 2014

I think this might be related to the BTSync app rather than the SyncoCommunity app, but Syncing between two Synology devices, both on the same active directory network there is a very big problem with file permissions.

When replicating a file to another device, the app does not apply the same file permissions and so users are not able to view/edit/save the document.

@Diaoul

This comment has been minimized.

Copy link
Member

@Diaoul Diaoul commented Sep 17, 2014

Please report upstream and let us know if we can update the package in any way to fix this.

@Diaoul Diaoul closed this Sep 17, 2014
@Bridgesltd

This comment has been minimized.

Copy link
Author

@Bridgesltd Bridgesltd commented Sep 23, 2014

I have since spoken with the BTSync developers whos confirmed a few points.
File permissions are not copied across by design.

It has been suggested there are 2 options available;

[quote]

  1. Multiple instances of Sync. Each runs under necessary user with separate storage for DB.

  2. Make sure that users share same group. Make a separate user for Sync and add it to the same group. Set umask for Sync's user so it will create files accessible for whole group.
    [/quote]

For #2 I believe it relates to the account in which starts/runs the BTSync process, this account needs to be part of the same group as the core users.
I have attached a screenshot which shows an original file on the left side and a newly replicated file on the right side. As you can see, permissions have been removed and read only access has been applied.

permission1

Is there anyway we can modify how the BTSync process is ran to enable replication with read/write permissions?

I feel this is quite a significant issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.