diff options
author | eigengrau <eigengrau@web> | 2015-06-02 09:07:35 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-06-02 09:07:35 +0000 |
commit | 3bb609e6442349f13224fbdd2690c8473563e6cd (patch) | |
tree | a00b9ac94a0e81f633dc4badc40239ee2b5b5c6a /doc | |
parent | fcf2121de2757b6b33b239858e0d7d4e0e1e3542 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/bugs/sharedRepository__61__world_not_working.mdwn | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/bugs/sharedRepository__61__world_not_working.mdwn b/doc/bugs/sharedRepository__61__world_not_working.mdwn new file mode 100644 index 000000000..f40fd3eff --- /dev/null +++ b/doc/bugs/sharedRepository__61__world_not_working.mdwn @@ -0,0 +1,32 @@ +### Please describe the problem. +As per [this note](https://git-annex.branchable.com/todo/sharedRepository_mode_not_supported_by_git-annex/), `sharedRepository=world` should be supported. However, it does not seem to work with git-annex 5.20150508. When copying files to the public remote, annexed objects’ permission are subject to the remote user’s umask. If it is 077, they will not be world-readable. + + +### What steps will reproduce the problem? + +[[!format sh """ +# Remotely +git init --shared=world public +cd public +git config receive.denyCurrentBranch updateInstead +git annex init +"""]] + +[[!format sh """ +# Locally +git init local +cd local +git annex init +git remote add public $URL:public +echo abc > file +git annex add file +git commit -m init +git annex copy --to public file +git annex sync +# If remote user has umask 077, remote object winds up readable only by him +"""]] + + +### What version of git-annex are you using? On what operating system? +git-annex 5.20150508 +Linux 4.0.4 |