From 8a0df576f251e30980d088c5de7e9be6be23d2d2 Mon Sep 17 00:00:00 2001 From: sunny256 Date: Mon, 16 Jan 2017 11:03:45 +0000 Subject: 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 000000000..7c9caf052 --- /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? +"""]] -- cgit v1.2.3