Sign in to follow this  
c0g

New files overwritten -

Recommended Posts

I am using BTSync 1.1.48 on an OSX computer and a Linux Mint machine. I do most of my changes on OSX - the linux machine mostly acts as an always on server.

This problem is hard to replicate - I have tried to run the debug log, but it hit 30GB before getting the problem again. I disabled the log and a few days later it happened. I have tried to replicate it all morning, and nothing.

I use sync to synchronise my source code folders and Latex projects. Some of these are also under Git. There are lots of small files, and when I'm writing Latex especially, large amount of churn as I have it set up to rebuild everytime I save.

My problem is that, on occasion, Sync overwrites my changed file after 5 - 10 minutes. I write a new piece of code, move onto a different file then either get a sync notification from the menu bar or come back to the editor and get told the file has changed on the file system, do I want to reload it? I find this behaviour quite worrying since it will probably also trash my Git history, and has already broken a few code projects when changes got reverted.

This problem caused me to disable Sync back in the Alpha, but I have since read the problem was fixed. The transition from Alpha - Beta seems a bit rushed if there are still instances, like this one, of people's files being trashed.

Share this post


Link to post
Share on other sites

[EDIT - I think I diagnosed the problem]

The problem would appear to be that the files were changed on the Mac, the Linux tried to write to them but was unable to, then saw they were different to the Mac so synced them right back.

In the case just now this was because I'd been messing with permissions/ownerships on the linux end - I don't know what the previous issue was. The files I was editing were owned by root but sync was running as a user - so it tried to write the files but failed. Why it thought it was reasonable to nuke my Mac's files is another question, answerable by the Sync devs.

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.

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.

Sign in to follow this