git-annex/Utility
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
..
DirWatcher relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
LockFile final scary locking refactoring (for now) 2014-08-20 19:30:40 -04:00
Applicative.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Base64.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Batch.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
Bloom.hs Support building with bloomfilter 2.0.0. 2014-07-07 12:24:12 -04:00
CoProcess.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
CopyFile.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
Daemon.hs fix imports for windows 2014-08-23 16:27:24 -07:00
Data.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
DataUnits.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
DBus.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Directory.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
DirWatcher.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
DiskFree.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Dot.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Env.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Exception.hs qualify catch and try 2014-08-10 19:40:21 -04:00
ExternalSHA.hs deal with process-1.2.0.0 throwing an exception when program DNE (may only fix the tip of the iceberg) 2014-07-13 22:33:28 -04:00
FileMode.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
FileSystemEncoding.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Format.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
FreeDesktop.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Glob.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Gpg.hs fix windows build 2014-08-10 15:30:55 -04:00
Hash.hs lazy bytestring fromStrict is not available in stable; use fromChunks instead 2014-05-29 20:25:01 -04:00
HumanNumber.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
HumanTime.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
InodeCache.hs fix build on windows with unix-compat-0.4.1.3 2014-08-11 17:25:31 -04:00
JSONStream.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
libdiskfree.c relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
libdiskfree.h Renamed diskfree.c to avoid OSX case insensativity bug. 2012-04-13 11:26:39 -04:00
libkqueue.c relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
libkqueue.h fix prototype 2012-06-19 01:57:19 -04:00
libmounts.c cleanup 2012-07-19 21:20:38 -04:00
libmounts.h Got removable media mount detection working on Android. 2013-05-04 16:19:25 -04:00
LinuxMkLibs.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
LockFile.hs reorganize and refactor lock code 2014-08-20 16:45:58 -04:00
LogFile.hs Windows: Assistant now logs to daemon.log. 2014-06-17 19:27:54 -04:00
Lsof.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Matcher.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Metered.hs testremote: New command to test uploads/downloads to a remote. 2014-08-01 15:10:01 -04:00
Misc.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Monad.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Mounts.hsc avoid warnings when built with ghc 7.6 2013-06-02 15:01:58 -04:00
Network.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
NotificationBroadcaster.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
OSX.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Parallel.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
PartialPrelude.hs rename readMaybe to readish 2012-01-23 17:00:10 -04:00
Path.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Percentage.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
PID.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
PosixFiles.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Process.hs lift types from IO to Annex 2014-07-29 16:28:44 -04:00
QuickCheck.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Quvi.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Rsync.hs move ugly rsync zombie workaround 2014-08-03 16:53:29 -04:00
SafeCommand.hs export CreateProcess fields from Utility.Process 2014-06-10 19:20:14 -04:00
Scheduled.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Shell.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
SimpleProtocol.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
SRV.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
SshConfig.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Tense.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
ThreadLock.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
ThreadScheduler.hs increase sleep 2014-07-16 16:16:25 -04:00
TList.hs comment 2014-01-07 17:33:38 -04:00
Tmp.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
Touch.hsc relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
URI.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Url.hs add compat cruft for old versions of http-types and http-conduit 2014-08-17 15:39:46 -04:00
UserInfo.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Verifiable.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
WebApp.hs unify exception handling into Utility.Exception 2014-08-07 22:03:29 -04:00
winprocess.c windows: Fix process termination code. 2014-02-13 15:53:10 -04:00
WinProcess.hs relicense general utility library code to BSD 2014-05-10 11:01:27 -03:00
Yesod.hs create a local copy of Yesod.Form.Bootstrap3 2014-04-25 12:26:33 +02:00