I'm using Syncovery to sync a largish directory (~700 MB) that includes a bunch of large binary data files (.fits files, storing astronomical data). The directory is a Git repo (I've used Syncovery to sync Git repos for many years without issues). Improperly, the creator of the repo set the executable bit on all of the binary data files.
If I `git clone` the directory from GitHub, the data files have the executable bit set. `git status` on the cloned repo shows no changes vs. Git's record of the files.
If I use Syncovery to copy the repo from one Mac to another, all of the executable bits get flipped off. `git status` then thinks that all of the data files have been changed (albeit just their permissions), and is saying they need to be added and committed. `git diff` on one of the files says:
I.e., the executable permission bit has been flipped (which I've verified with `ls -l`).
Code: Select all
old mode 100755 new mode 100644
The sync is using sftp via SBB, with Syncovery 10.2.7. I've looked through the settings for something obvious that might affect this, but don't see anything. However, there are lots of settings and perhaps I've overlooked something.
Is there a way to make Syncovery preserve the permissions for these files?
Incidentally, in the course of looking through the settings, I came across the Special->Extended attributes settings for the first time. The text there says:
But the checkmark for "Copy Extended Attributes (if possible)" is *unchecked*. I've never adjusted these settings. Very few of my files have xattrs (so far), but a few do. Should this box be checked for all of my profiles? Any idea why it is unchecked if the default behavior is to copy xattrs?
Code: Select all
Extended Attributes are copied along with the files by default, if possible.... In most cases, you will want to keep the checkmark below chosen for the best behavior....