diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-01-04 14:46:58 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-01-04 14:46:58 -0400 |
commit | aff4d31f8f8132d06a76bb311093efed3af7bedb (patch) | |
tree | f587c2b0191f41b2f680333743cd51481630b8f9 /Annex/Content | |
parent | abbefad307ed40e9ed01e2991fe89fb2f9eb8bb0 (diff) |
more core.sharedRepository perm fixes
Fix more places where files in .git/annex/ were written with modes that
did not take the core.sharedRepository config into account.
This commit was sponsored by Jeff Goeke-Smith on Patreon.
Diffstat (limited to 'Annex/Content')
-rw-r--r-- | Annex/Content/Direct.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Annex/Content/Direct.hs b/Annex/Content/Direct.hs index 734a0c1b9..98323b2b8 100644 --- a/Annex/Content/Direct.hs +++ b/Annex/Content/Direct.hs @@ -34,6 +34,7 @@ import Annex.Perms import qualified Git import Utility.Tmp import Logs.Location +import Logs.File import Utility.InodeCache import Utility.CopyFile import Annex.ReplaceFile @@ -67,7 +68,7 @@ changeAssociatedFiles key transform = do let files' = transform files when (files /= files') $ modifyContent mapping $ - liftIO $ viaTmp writeFile mapping $ unlines files' + writeLogFile mapping $ unlines files' top <- fromRepo Git.repoPath return $ map (top </>) files' |