Avoid passing -p to rsync, to interoperate with crippled filesystems.
In general, git-annex does not try to preserve file permissions. For example, they don't round trip through special remotes. So it's ok to not preserve them for git remotes either. On crippled filesystems, rsync has been observed failing after the file was transferred because it couldn't set some permission or other.
This commit is contained in:
parent
4689fbde35
commit
a7a1bcd1d6
3 changed files with 2 additions and 3 deletions
|
@ -427,7 +427,7 @@ rsyncParamsRemote r direction key file afile = do
|
|||
|
||||
-- --inplace to resume partial files
|
||||
rsyncParams :: Remote -> [CommandParam]
|
||||
rsyncParams r = [Params "-p --progress --inplace"] ++
|
||||
rsyncParams r = [Params "--progress --inplace"] ++
|
||||
map Param (remoteAnnexRsyncOptions $ gitconfig r)
|
||||
|
||||
commitOnCleanup :: Remote -> Annex a -> Annex a
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue