git-annex/Remote
Joey Hess 6eb5c3f479 Do not preserve permissions and acls when copying files from one local git repository to another. Timestamps are still preserved as long as cp --preserve=timestamps is supported.
This avoids cp -a overriding the default mode acls that the user might have
set in a git repository.

With GNU cp, this behavior change should not be a breaking change, because
git-anex also uses rsync sometimes in the same situation, and has only ever
preserved timestamps when using rsync.

Systems without GNU cp will no longer use cp -a, but instead just cp.
So, timestamps will no longer be preserved. Preserving timestamps when
copying between repos is not guaranteed anyway.

Closes: #729757
2014-08-26 17:10:25 -07:00
..
Directory pushed checkPresent exception handling out of Remote implementations 2014-08-06 13:45:19 -04:00
External unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Helper more lock file refactoring 2014-08-20 18:58:14 -04:00
Rsync rsync special remote: Fix slashes when used on Windows. 2014-03-18 13:02:10 -04:00
WebDAV WebDAV: Avoid buffering whole file in memory when downloading. 2014-08-08 13:40:55 -04:00
Bup.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Ddar.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Directory.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
External.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
GCrypt.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Git.hs Do not preserve permissions and acls when copying files from one local git repository to another. Timestamps are still preserved as long as cp --preserve=timestamps is supported. 2014-08-26 17:10:25 -07:00
Glacier.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Hook.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
List.hs factor out getRemoteGitConfig 2014-05-16 16:08:20 -04:00
Rsync.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
S3.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Tahoe.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
Web.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00
WebDAV.hs testremote: Add testing of behavior when remote is not available 2014-08-10 15:02:59 -04:00