aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Aborts_with_SQLite_error_when_dropping_contents
diff options
context:
space:
mode:
authorGravatar sunny256 <sunny256@web>2017-01-16 11:03:45 +0000
committerGravatar admin <admin@branchable.com>2017-01-16 11:03:45 +0000
commit8a0df576f251e30980d088c5de7e9be6be23d2d2 (patch)
treef2a56f216d7749b1dfc5c2778cacdeb67e633ed1 /doc/bugs/Aborts_with_SQLite_error_when_dropping_contents
parentb8cb9a88ac0fa58217ba1652723ced991aadc840 (diff)
Added a comment: Found the reason
Diffstat (limited to 'doc/bugs/Aborts_with_SQLite_error_when_dropping_contents')
-rw-r--r--doc/bugs/Aborts_with_SQLite_error_when_dropping_contents/comment_1_cd09e4d4a73e003735e3297922b8faa8._comment8
1 files changed, 8 insertions, 0 deletions
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?
+"""]]