From 0966bd2de47d5ec1b791d3fb5643b46bdb6e8977 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 25 Jun 2021 13:33:27 -0400 Subject: [PATCH] comment --- ..._19de24208042d09572c114bca80f4854._comment | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 doc/bugs/__34__rename__58___permission_denied__34__/comment_1_19de24208042d09572c114bca80f4854._comment diff --git a/doc/bugs/__34__rename__58___permission_denied__34__/comment_1_19de24208042d09572c114bca80f4854._comment b/doc/bugs/__34__rename__58___permission_denied__34__/comment_1_19de24208042d09572c114bca80f4854._comment new file mode 100644 index 0000000000..c36b696fd0 --- /dev/null +++ b/doc/bugs/__34__rename__58___permission_denied__34__/comment_1_19de24208042d09572c114bca80f4854._comment @@ -0,0 +1,20 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2021-06-25T17:23:44Z" + content=""" +git-annex is hard linking the file to the temp directory with "ingest-" in its +name. Then later it renames that into .git/annex/objects/ + +So the permissions problem must involve one of those directories, but neither +seems likely. The newly created temp file is in a directory whose permissions +certainly let it delete it since they let it create it there. The destination +directory gets its write bit set before the rename. + +I wonder if some of these files, or other files you're +adding might have identical content? It seems possible that there +could be some concurrency related problem with that. Although I +have not been able to produce any. + +Something OSX specific, possibly... +"""]]