From 07c322752c4703f633474d1ce8fe7261d0f07bc7 Mon Sep 17 00:00:00 2001 From: zardoz Date: Fri, 11 Jul 2014 13:27:00 +0000 Subject: [PATCH] --- ...___40__Permission_denied__41____187__.mdwn | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 doc/bugs/__171__uninit__187___on_direct_mode_repo_gives___171__removeLink:_permission_denied___40__Permission_denied__41____187__.mdwn diff --git a/doc/bugs/__171__uninit__187___on_direct_mode_repo_gives___171__removeLink:_permission_denied___40__Permission_denied__41____187__.mdwn b/doc/bugs/__171__uninit__187___on_direct_mode_repo_gives___171__removeLink:_permission_denied___40__Permission_denied__41____187__.mdwn new file mode 100644 index 0000000000..b0af895548 --- /dev/null +++ b/doc/bugs/__171__uninit__187___on_direct_mode_repo_gives___171__removeLink:_permission_denied___40__Permission_denied__41____187__.mdwn @@ -0,0 +1,32 @@ +### Please describe the problem. + +I suppose that in a direct mode repo, one might as well just «chmod -R ++w .git/annex; rm -r .git/annex», but I noticed that, when using «git +annex uninit», this will fail to remove some files in .git/annex. + +### What steps will reproduce the problem? +[[!format sh """ +# If you can, paste a complete transcript of the problem occurring here. +# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log +$ mkdir /tmp/foo +$ cd /tmp/foo +$ git init +$ git annex init +$ echo quux > file +$ git annex add file +$ git annex sync +$ git annex uninit +unannex file ok +git-annex: /tmp/foo/.git/annex/objects/zQ/MQ/SHA256E-s3--98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4/SHA256E-s3--98ea6e4f216f2fb4b69fff9b3a44842c38686ca685f3f55dc48c5d3fb1107be4.map: removeLink: permission denied (Permission denied) + +# End of transcript or log. +"""]] + + +### What version of git-annex are you using? On what operating system? +git-annex 5.20140709-1 + +linux 3.15.5 + +### Please provide any additional information below. +