git-annex/Utility
Joey Hess 642703c7e4
avoid using removePathForcibly everywhere, it is unsafe
If the temp directory can somehow contain a hard link, it changes the
mode, which affects all other hard linked files. So, it's too unsafe
to use everywhere in git-annex, since hard links are possible in
multiple ways and it would be very hard to prove that every place that
uses a temp directory cannot possibly put a hard link in it.

Added a call to removeDirectoryForCleanup to test_crypto, which will
fix the problem that commit 17b20a2450
was intending to fix, with a much smaller hammer.

Sponsored-by: Dartmouth College's Datalad project
2022-05-02 14:06:20 -04:00
..
Directory
DirWatcher fix build on openbsd 2021-02-01 11:53:31 -04:00
Env
LockFile close pid lock only once no threads use it 2021-12-06 15:01:39 -04:00
LockPool fix build on windows 2021-12-09 13:39:16 -04:00
Path fix quickcheck test on windows 2022-03-22 13:53:55 -04:00
Process fix missing new lines in processTranscript 2021-08-02 13:42:27 -04:00
Scheduled
Tmp avoid using removePathForcibly everywhere, it is unsafe 2022-05-02 14:06:20 -04:00
Aeson.hs fix build warning with old aeson 2022-03-07 13:29:24 -04:00
Android.hs
Applicative.hs
Attoparsec.hs
AuthToken.hs turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
Base64.hs turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
Batch.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Bloom.hs
CoProcess.hs
CopyFile.hs note about coreutils 9.0 supporting CoW by default 2021-09-30 14:12:58 -04:00
Daemon.hs set cwd rarher than changing current process directory 2021-05-12 17:44:22 -04:00
Data.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
DataUnits.hs
DBus.hs
Debug.hs simplify and speed up Utility.FileSystemEncoding 2021-08-11 12:13:31 -04:00
DebugLocks.hs
Directory.hs
DirWatcher.hs
DiskFree.hs
Dot.hs
DottedVersion.hs
Env.hs
Exception.hs comment typo 2021-01-21 14:13:55 -04:00
FileMode.hs
FileSize.hs
FileSystemEncoding.hs improve comments 2021-12-08 18:59:22 -04:00
Format.hs
FreeDesktop.hs
GitLFS.hs git-lfs gitlab interoperability fix 2021-11-10 13:51:11 -04:00
Glob.hs
Gpg.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Hash.hs turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
HtmlDetect.hs addurl: Avoid crashing when used on beegfs. 2021-07-05 13:02:40 -04:00
HttpManagerRestricted.hs
HumanNumber.hs Fix a rounding bug in display of data sizes 2021-07-30 09:56:04 -04:00
HumanTime.hs
InodeCache.hs fix build failure on windows 2021-10-20 15:12:12 -04:00
IPAddress.hs
libkqueue.c
libkqueue.h
LinuxMkLibs.hs remove obsolete libgcc1 2021-10-21 03:02:16 -04:00
LockFile.hs
LockPool.hs
LogFile.hs
Lsof.hs
MagicWormhole.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Matcher.hs fix handling of implicit and before parens 2021-01-28 13:51:07 -04:00
MD5.hs
Metered.hs avoid cursor jitter when updating progress display 2021-10-07 11:16:41 -04:00
Misc.hs
Monad.hs
Mounts.hs
MoveFile.hs
Network.hs
NotificationBroadcaster.hs
OptParse.hs
OSX.hs
PartialPrelude.hs
Path.hs Fix using lookupkey inside a subdirectory 2021-10-26 15:00:45 -04:00
Percentage.hs
PID.hs
Process.hs switch from hslogger to purpose-built Utility.Debug 2021-04-05 13:40:31 -04:00
QuickCheck.hs
RawFilePath.hs
ResourcePool.hs
Rsync.hs
SafeCommand.hs
Scheduled.hs
Shell.hs add searchPathContents 2021-02-02 19:06:15 -04:00
ShellEscape.hs
SimpleProtocol.hs
Split.hs
SshConfig.hs
SshHost.hs
Su.hs add searchPathContents 2021-02-02 19:06:15 -04:00
SystemDirectory.hs
Tense.hs
ThreadLock.hs
ThreadScheduler.hs avoid displaying the scanning annexed files message when repo is not large 2021-06-04 13:16:48 -04:00
TimeStamp.hs
TList.hs
Tmp.hs decorate openTempFile errors with the template name 2021-08-30 13:05:02 -04:00
Tor.hs add searchPathContents 2021-02-02 19:06:15 -04:00
Touch.hs
Tuple.hs
Url.hs remove vendored http-client-restricted 2022-03-22 11:50:06 -04:00
UserInfo.hs
Verifiable.hs
WebApp.hs turn of PackageImports in cabal file 2022-02-25 13:16:36 -04:00
Yesod.hs