[Solved] Read only share still removes files


markg85

Recommended Posts

Hi,

My setup is as follows:
Some server hosts a folder. It runs version 2.3.7 (i don't control the version nor the server).
Locally i also run resilio, i do have control over the version (currently 2.4.4). I want to sync a folder from the server to my local machine.

On the server i created a new share with the permission set to read only (as advised for one-way sync here [1]). I've copied the resulting link on my local machine and am now able to sync. New files get added without any problem. So far so good.

But now i deleted a file on the server to clear up some space there. And that - to my surprise - also removed the file on my local instance while i explicitly did a one-way sync which is described in [1] as the way to prevent files from being deleted.

Then i thought: "hmm, if i pause syncing, remove the file and resume syncing, will that keep the file locally?".. Well, nope. Even while syncing is paused (the service itself is still running though), the file is still removed. Like pause has no effect on deletions. I would consider that a bug btw. It is unexpected behavior if pause is still doing things..

The only thing i can think of now that "might" work is disabling the resilio service on the server, than do my file removals and than re-enable it. That hopefully doesn't delete my files locally, right?

So, am i doing something wrong here? How can i get a one-way sync between that server and my local machine?

Best regards,
Mark

[1] https://help.getsync.com/hc/en-us/articles/204754279-Is-one-way-synchronization-possible-

Link to comment
Share on other sites

I think you've got the wrong concept here.

By creating a "read only" link on your server originally hosting the files, your "local machine" will be having a "read only" permission on all the files currently existing on the server itself. By "read only", it means that your local machine cannot make changes to the original host (which is your server).

Any changes you make on the server will be reflected on the local machine, including file deletion.

 

Link to comment
Share on other sites

Oke, interesting.

So, is there a concept where i can be in sync with the server, but ignore file deletions?
That basically means that my local machine only needs to have all the files that are in the server's sync folder. It can have more (not less).

This isn't "that" weird, right?

Link to comment
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.

Guest
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.