From 7ed762e5a7296b042a61f594dfdab8aae149818b Mon Sep 17 00:00:00 2001 From: sunny256 Date: Mon, 16 Jan 2017 11:03:45 +0000 Subject: [PATCH] Added a comment: Found the reason --- .../comment_1_cd09e4d4a73e003735e3297922b8faa8._comment | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 doc/bugs/Aborts_with_SQLite_error_when_dropping_contents/comment_1_cd09e4d4a73e003735e3297922b8faa8._comment diff --git a/doc/bugs/Aborts_with_SQLite_error_when_dropping_contents/comment_1_cd09e4d4a73e003735e3297922b8faa8._comment b/doc/bugs/Aborts_with_SQLite_error_when_dropping_contents/comment_1_cd09e4d4a73e003735e3297922b8faa8._comment new file mode 100644 index 0000000000..7c9caf052c --- /dev/null +++ b/doc/bugs/Aborts_with_SQLite_error_when_dropping_contents/comment_1_cd09e4d4a73e003735e3297922b8faa8._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="sunny256" + avatar="http://cdn.libravatar.org/avatar/8a221001f74d0e8f4dadee3c7d1996e4" + subject="Found the reason" + date="2017-01-16T11:03:45Z" + content=""" +I managed to find the reason why it failed. The files in .git/annex/keys/ had wrong permissions, so I wasn't able to write to them. This is a shared repository where everyone within the Unix group can read and write. All the directories including .git/annex/keys have chmod +s so any additions or edits are stored within the correct group. But the SQLite files were stored with permission 0644 instead of 0664, and my umask in the shell is 0002. Maybe SQLite is creating the database with wrong permissions? +"""]]