summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar yarikoptic <yarikoptic@web>2017-10-10 17:17:12 +0000
committerGravatar admin <admin@branchable.com>2017-10-10 17:17:12 +0000
commit30968ebf3bd0c0fc9d3ed3962273c2c2d406d671 (patch)
tree1b33aa0fb363790f17383dcd076282fd106735f8
parent99676975063824188e6794d130db0f09e98b789b (diff)
Added a comment: annex fsck reverts them back to incorrect!
-rw-r--r--doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__/comment_1_df04a6bd62a60789d8a59cce4b62728e._comment22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__/comment_1_df04a6bd62a60789d8a59cce4b62728e._comment b/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__/comment_1_df04a6bd62a60789d8a59cce4b62728e._comment
new file mode 100644
index 000000000..b6fd7150f
--- /dev/null
+++ b/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__/comment_1_df04a6bd62a60789d8a59cce4b62728e._comment
@@ -0,0 +1,22 @@
+[[!comment format=mdwn
+ username="yarikoptic"
+ avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
+ subject="annex fsck reverts them back to incorrect!"
+ date="2017-10-10T17:17:12Z"
+ content="""
+even if I fix them, and then rerun 'annex fsck' to verify that I am 'ok' -- it would revert to the bad state:
+
+[[!format sh \"\"\"
+$ find -ipath '*.git/annex/objects' | while read d; do chmod a-w -R $d/*/*/*; done
+ls -ld ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv
+dr-xr-sr-x 2 bids bids 3 Oct 3 08:36 ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv
+
+$ git annex fsck >/dev/null
+
+$ ls -ld ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv
+drwxrwsr-x 2 bids bids 3 Oct 3 08:36 ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv
+
+$ ls -ld ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv/*
+-rw-rw-rw- 1 bids bids 3500 Oct 3 07:57 ./.git/annex/objects/Kj/ZJ/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv/MD5E-s3500--157855c754113321d3f6621abe0fe71d.tsv
+\"\"\"]]
+"""]]