summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryarikoptic <yarikoptic@web>2017-10-10 17:06:10 +0000
committeradmin <admin@branchable.com>2017-10-10 17:06:10 +0000
commit7cf8fecdec8360acfa6070b2ca8a78100e696f1b (patch)
tree705b432eb3992e164e4203584b07db660ab8a0b5
parentb76967f0f7c5fa23438a0618020450dbb999388c (diff)
initial report
-rw-r--r--doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__.mdwn30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__.mdwn b/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__.mdwn
new file mode 100644
index 0000000..fdf2e50
--- /dev/null
+++ b/doc/bugs/--shared_setting_of_git_causes_annex__39__ed_files_to_be_writeable__33__.mdwn
@@ -0,0 +1,30 @@
+### Please describe the problem.
+
+Not sure how I have missed this issue for a while, since now I have tried with almost year old 6.20170101-1+b1 -- the same story as with 6.20171003-g14ffdd779
+
+I expect those files to be readable according to the 'shared' setting but definitely not writeable!
+
+### Please provide any additional information below.
+
+[[!format sh """
+$> sudo rm -rf tttt; mkdir tttt; ( cd tttt; git init --shared .; git annex init ; echo 123 >123; git annex add 123; git commit -m 'added 123'; ls -lL 123; )
+Initialized empty shared Git repository in /tmp/tttt/.git/
+init ok
+(recording state in git...)
+add 123 ok
+(recording state in git...)
+[master (root-commit) b137ea6] added 123
+ 1 file changed, 1 insertion(+)
+ create mode 120000 123
+-rw-rw---- 1 yoh yoh 4 Oct 10 12:59 123
+
+$> echo 11 >> tttt/123
+# no error code
+"""]]
+
+FWIW my umask is 077 but originally discovered on a system with umask 0002
+
+I guess I need to annex fsck tons of repositories now :-/
+
+[[!meta author=yoh]]
+