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
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?
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
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
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.)