diff options
author | Joey Hess <joey@kitenet.net> | 2013-02-22 15:23:29 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-02-22 15:23:29 -0400 |
commit | 982ffe047e8f0f32713a7bd128f4842afe6a2690 (patch) | |
tree | 0a5f13b165caca781d5cb73bfe0bee3c8bcc344b /Utility/Rsync.hs | |
parent | 664f736f34a914ea995862f73aad56ee87b3da6e (diff) |
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.
Diffstat (limited to 'Utility/Rsync.hs')
-rw-r--r-- | Utility/Rsync.hs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Utility/Rsync.hs b/Utility/Rsync.hs index 09e7d8282..e03824239 100644 --- a/Utility/Rsync.hs +++ b/Utility/Rsync.hs @@ -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 |