Issue 204 in s3fs: s3fs: could not establish security credentials, check documentation - v1.55, debian squeeze

494 views
Skip to first unread message

s3...@googlecode.com

unread,
Jul 6, 2011, 11:12:22 AM7/6/11
to s3fs-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 204 by gmoorena...@gmail.com: s3fs: could not establish security
credentials, check documentation - v1.55, debian squeeze
http://code.google.com/p/s3fs/issues/detail?id=204

Hi, hope you can help, I'm seeing the following when trying to mount my
bucket, which coincidentally works fine when I export my keys inside my
shell.

I have the following files in place for authentication which contain
my keys in the following format:
AWSACCESSKEYID:AWSSECRETACCESSKEY

root@xxx:~/s3fs/s3fs-1.55/src# ls -al /etc/passwd-s3fs /root/.passwd-s3fs
-rw-r----- 1 root root 62 Jul 6 15:48 /etc/passwd-s3fs
-rw------- 1 root root 64 Jul 6 15:43 /root/.passwd-s3fs

A small thing to note, my secret key, provided by Amazon, contains 2 '\'
characters.

I get the below error when doing the following:

root@xxx:~/s3fs/s3fs-1.55/src# ./s3fs bucketname /s3
s3fs: could not establish security credentials, check documentation

I've tried strace'ing the ./s3fs, but I can't see any open()'s to either of
the password files listed above. I should be able to paste the whole
strace if you wish.

I realise I haven't given you a massive amount to go on, but please let me
know how I can help.

Thanks in advance!

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

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

System information (uname -a):
Linux max 2.6.39.1 #1 SMP Thu Jun 16 23:18:02 BST 2011 x86_64 GNU/Linux

Distro (cat /etc/issue):
Debian GNU/Linux 6.0 \n \l

s3fs command line used (if applicable):
root@xxxx:~/s3fs/s3fs-1.55/src# ./s3fs bucketname /s3

/etc/fstab entry (if applicable):
none, yet, til I get this working!

s3fs syslog messages (grep s3fs /var/log/syslog):
none


s3...@googlecode.com

unread,
Jul 6, 2011, 11:27:31 AM7/6/11
to s3fs-...@googlegroups.com

Comment #1 on issue 204 by ben.lema...@gmail.com: s3fs: could not establish
security credentials, check documentation - v1.55, debian squeeze
http://code.google.com/p/s3fs/issues/detail?id=204

I can't reproduce this on squeeze (even with a '/' in the key). To rule out
your environment, could you try putting the keys in /etc/passwd-s3fs and
see if you have the same results?

s3...@googlecode.com

unread,
Jul 7, 2011, 4:42:44 AM7/7/11
to s3fs-...@googlegroups.com

Comment #2 on issue 204 by gmoorena...@gmail.com: s3fs: could not establish
security credentials, check documentation - v1.55, debian squeeze
http://code.google.com/p/s3fs/issues/detail?id=204

Hi Ben,

I have already put that file in place with 640, root:root permissions.

Additionally, it's a '\', not a '/' in the secret key.

Thanks,

Graham

s3...@googlecode.com

unread,
Jul 7, 2011, 4:55:48 AM7/7/11
to s3fs-...@googlegroups.com

Comment #3 on issue 204 by gmoorena...@gmail.com: s3fs: could not establish
security credentials, check documentation - v1.55, debian squeeze
http://code.google.com/p/s3fs/issues/detail?id=204

Hi Ben,

I've just managed to fix it, but I'm unsure what the issue was, but I'm
suspecting some bad characters inserted when I copy and pasted into vi.

Sorry for the trouble, feel free to mark this as resolved.

Thanks again,

Graham

s3...@googlecode.com

unread,
Jul 7, 2011, 12:37:51 PM7/7/11
to s3fs-...@googlegroups.com
Updates:
Status: Invalid

Comment #4 on issue 204 by ben.lema...@gmail.com: s3fs: could not establish

security credentials, check documentation - v1.55, debian squeeze
http://code.google.com/p/s3fs/issues/detail?id=204

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages