SparkleShare icon indicating copy to clipboard operation
SparkleShare copied to clipboard

Executable bit dropped

Open CliffS opened this issue 5 years ago • 2 comments

Running version 3.28.0 connected to a private repository on Github.

As there is no headless version, I am running SparkleShare on my desktop machine (Ubuntu 19.04) and mirroring it on remote, headless machines by running git pull from cron. This seems to work but any files which have the executable bit on in the SparkleShare directory are no longer executable after the git pull.

Am I doing something wrong or is SparkleShare somehow losing the executable bit?

CliffS avatar Jun 09 '19 16:06 CliffS

same problem here

0atman avatar Oct 23 '19 15:10 0atman

SparkleShare/Git is set to ignore file permissions: https://github.com/hbons/SparkleShare/blob/master/Sparkles/Git/Git.Fetcher.cs#L342 this is because clients may run on Windows. You can override the core.fileMode setting in your project's .git/config file if you're sure that all clients support unix file permissions.

hbons avatar Oct 24 '19 09:10 hbons