From 349212bd7fa8078cc62a4fa04a0440bbc7e599c3 Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Thu, 25 Apr 2013 02:14:18 +0000 Subject: [PATCH] Added a comment --- ...t_5_dd66c9ea0c83388f6826751944330d10._comment | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 doc/forum/Not_sure_how_to_get_my_s3_remote_back/comment_5_dd66c9ea0c83388f6826751944330d10._comment diff --git a/doc/forum/Not_sure_how_to_get_my_s3_remote_back/comment_5_dd66c9ea0c83388f6826751944330d10._comment b/doc/forum/Not_sure_how_to_get_my_s3_remote_back/comment_5_dd66c9ea0c83388f6826751944330d10._comment new file mode 100644 index 0000000000..58fba2ca8f --- /dev/null +++ b/doc/forum/Not_sure_how_to_get_my_s3_remote_back/comment_5_dd66c9ea0c83388f6826751944330d10._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + nickname="joey" + subject="comment 5" + date="2013-04-25T02:14:18Z" + content=""" +Yes, when you run `git annex initremote $remotename` with no other parameters, it enables a remote from the stored configuration. +Which does not include `AWS_SECRET_ACCESS_KEY` and `AWS_ACCESS_KEY_ID`; you need to set those and then +you should not get access denied. + +You seem to say your .git/config contains two remotes with the same name, but I don't think that's possible. + +I don't know how you could end up with two remotes with the same name in `git show git-annex:remote.log`, unless the two were added in separate repositories which were then synced together. Since this is not a usual situation there's not any UI to deal with it. I've just committed a change that will make `initremote` prefer remotes that have not been marked dead when there's a naming comflict. + +However, I'm more curious how this situation came about. I have not been able to reproduce the problem when enabling a S3 remote using the webapp. +"""]]