Issue 237 in s3fs: s3fs mount failed - 403/AccessDenied

734 views
Skip to first unread message

s3...@googlecode.com

unread,
Nov 29, 2011, 9:07:11 AM11/29/11
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 237 by aljosa.m...@gmail.com: s3fs mount failed - 403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

mount results in error although AWS credentials are valid (used in
production):
$ s3fs <BUCKET> /abs/path/

s3fs: CURLE_HTTP_RETURNED_ERROR
s3fs: HTTP Error Code: 403
s3fs: AWS Error Code: AccessDenied
s3fs: AWS Message: Access Denied

Version of s3fs being used (s3fs --version):
Amazon Simple Storage Service File System 1.61

Version of fuse being used (pkg-config --modversion fuse):
2.8.4

System information (uname -a):
Linux aljosa-laptop 3.0.0-13-generic #22-Ubuntu SMP Wed Nov 2 13:27:26 UTC
2011 x86_64 x86_64 x86_64 GNU/Linux

Distro (cat /etc/issue):
Ubuntu 11.10

s3fs command line used (if applicable):
$ s3fs <BUCKET> /abs/path/

s3...@googlecode.com

unread,
Feb 7, 2012, 8:48:43 AM2/7/12
to s3fs-...@googlegroups.com

Comment #1 on issue 237 by Vadims.Z...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

I have the same issue, but a little bit different system - Ubuntu distro on
Amazon.

Version of s3fs being used (s3fs --version):
Amazon Simple Storage Service File System 1.61

Version of fuse being used (pkg-config --modversion fuse):
2.8.4

System information (uname -a):
Linux myserver 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 07:04:38 UTC 2011
i686 i686 i386 GNU/Linux


Distro (cat /etc/issue):
Ubuntu 11.04

s3fs command line used (if applicable):

$ s3fs <BUCKET> /mnt/<BUCKET>

s3...@googlecode.com

unread,
Feb 7, 2012, 9:14:56 AM2/7/12
to s3fs-...@googlegroups.com

Comment #2 on issue 237 by Vadims.Z...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

I have the same issue, but a little bit different system - Ubuntu distro on
Amazon.

User is not master user, but have write access to the s3 bucket content.
The user access tested sucsesfull with s3cmd tool.
The command works with master Amazon AWS user keys in /etc/passwd-s3fs file.

Version of s3fs being used (s3fs --version):
Amazon Simple Storage Service File System 1.61

Version of fuse being used (pkg-config --modversion fuse):
2.8.4

System information (uname -a):
Linux myserver 2.6.38-8-virtual #42-Ubuntu SMP Mon Apr 11 07:04:38 UTC 2011
i686 i686 i386 GNU/Linux

Distro (cat /etc/issue):
Ubuntu 11.04

s3fs command line used (if applicable):

$ s3fs <BUCKET> /mnt/<BUCKET> -o passwd_file=/etc/passwd-s3fs

s3...@googlecode.com

unread,
Feb 8, 2012, 6:50:50 AM2/8/12
to s3fs-...@googlegroups.com

Comment #3 on issue 237 by Vadims.Zenins: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

I can mount the s3 bucket if user had "s3:ListAllMyBuckets" permissions for
all s3 buckets.

User permissions example
{
"Statement": [
{
"Sid": "Stmt1321701021412",
"Action": [
"s3:ListAllMyBuckets"
],
"Effect": "Allow",
"Resource": [
"arn:aws:s3:::*"
]
}
]
}

s3...@googlecode.com

unread,
Jun 26, 2012, 8:11:49 PM6/26/12
to s3fs-...@googlegroups.com

Comment #4 on issue 237 by vasil...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

Problem confirmed, seems to be s3fs. Works 100% on osx/expandrive... Your
IAM/bucket policy is correct.

A fix would be nice :)

s3...@googlecode.com

unread,
Jun 26, 2012, 8:16:11 PM6/26/12
to s3fs-...@googlegroups.com

Comment #5 on issue 237 by vasil...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

Also, Upper case s3 bucket names would be nice... although a problem

s3...@googlecode.com

unread,
Sep 29, 2012, 11:14:22 AM9/29/12
to s3fs-...@googlegroups.com

Comment #6 on issue 237 by ehas...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

Any fix for this all I get is

s3fs: CURLE_HTTP_RETURNED_ERROR
s3fs: HTTP Error Code: 403
s3fs: AWS Error Code: InvalidAccessKeyId
s3fs: AWS Message: The AWS Access Key Id you provided does not exist in our
records.

It is the correct AWS key

s3...@googlecode.com

unread,
Jun 4, 2013, 3:32:58 AM6/4/13
to s3fs-...@googlegroups.com

Comment #7 on issue 237 by ggta...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

Hi all

(Sorry for replying too late)

Do you have this problem yet?
I think two reason for this issue by this issue comments.
One is setting bucket policy, the other is wrong AccessKey.

If you have a problem yet, please let me know more information.

Thanks in advance.


--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

s3...@googlecode.com

unread,
Aug 29, 2013, 5:16:00 AM8/29/13
to s3fs-...@googlegroups.com
Updates:
Status: Done

Comment #8 on issue 237 by ggta...@gmail.com: s3fs mount failed -
403/AccessDenied
http://code.google.com/p/s3fs/issues/detail?id=237

Hi,

Were you able to solve this problem?
I will close this issue because there is not your reply for a while.

Because some bugs are fixed in the latest version, please use the latest
version.
And please post new issue again if your problem does not seem to be fixed
yet.

Thanks in advance for your help.
Reply all
Reply to author
Forward
0 new messages