git-annex/Remote
Joey Hess eed20fe3b7
fix some file modes in calls to withTmpFileIn to honor umask
Also audited for other calls to openTempFile, and all are ok,
except for viaTmp which will need further work.

Remote.Directory fixed to set umask mode when writing to an export,
although it has another one using viaTmp that's not fixed.
Will make exports that are published via a http server running as
another user work, for example.

Remote.BitTorrent fixed to set umask mode when downloading the torrent
file. Normally this does not matter as that file does not hang around
after the download, but if a bittorrent download were started by one user,
got interrupted and then another user ran it, this will let them access
the torrent file created by the first user.
2020-09-02 14:36:08 -04:00
..
Directory make storeKey throw exceptions 2020-05-13 14:03:00 -04:00
External fix some warnings 2020-08-15 14:33:18 -04:00
Helper external backends wip 2020-07-29 15:23:18 -04:00
List auto-init autoenable=yes 2020-05-27 12:40:35 -04:00
Rsync fix windows build 2020-01-01 14:27:03 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs no importKey for android yet 2020-07-03 14:02:50 -04:00
BitTorrent.hs fix some file modes in calls to withTmpFileIn to honor umask 2020-09-02 14:36:08 -04:00
Bup.hs fix reversion 2020-06-05 19:06:09 -04:00
Ddar.hs convert to withCreateProcess for async exception safety 2020-06-04 15:45:52 -04:00
Directory.hs fix some file modes in calls to withTmpFileIn to honor umask 2020-09-02 14:36:08 -04:00
External.hs fix hang if external program is not available 2020-08-19 12:20:07 -04:00
GCrypt.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
Git.hs avoid failure to lock content of removed file causing drop etc to fail 2020-07-25 11:59:33 -04:00
GitLFS.hs lockContent for S3 (with versioning=yes) and git-lfs 2020-06-26 13:46:42 -04:00
Glacier.hs close stdin handles before waiting on commands 2020-06-05 17:27:49 -04:00
Hook.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
HttpAlso.hs display actual download errors 2020-09-02 12:21:10 -04:00
List.hs rename http special remote to httpalso 2020-09-02 10:41:53 -04:00
P2P.hs make retrieveKeyFile and retrieveKeyFileCheap throw exceptions 2020-05-13 17:07:07 -04:00
Rsync.hs fix implicit embedcreds regression 2020-06-16 18:00:19 -04:00
S3.hs no importKey for S3 for now 2020-07-03 13:53:14 -04:00
Tahoe.hs lockContent for tahoe 2020-06-26 14:23:21 -04:00
Web.hs make removeKey throw exceptions 2020-05-14 14:11:05 -04:00
WebDAV.hs fix embedcreds=yes reversion 2020-05-21 14:35:30 -04:00