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
|
@ -33,8 +33,6 @@ rsyncServerReceive file = rsync $ rsyncServerParams ++ [File file]
|
|||
rsyncServerParams :: [CommandParam]
|
||||
rsyncServerParams =
|
||||
[ Param "--server"
|
||||
-- preserve permissions
|
||||
, Param "-p"
|
||||
-- preserve timestamps
|
||||
, Param "-t"
|
||||
-- allow resuming of transfers of big files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue