How to mount a Amazon S3 bucket by using FUSE - S3FS

This is driving me up the wall. I am still a little new to Linux but i do understand how to do most of day to day stuff I need to do. What I am trying to do is mount a Amazon S3 bucket to a mount point on my server.

I running Ubuntu server 12.04, it is fully up to date. I followed this guided,

http://www.craiglotter.co.za/2012/04/20/how-to-install-s3fs-on-an-ubuntu-server/

In how to install FUSE & S3FS on my server. But it just says it can not 'establish security credentials'. I have use a psswd_s3fs file within in the etc and have tried a .passwd_s3fs file within the home folder(/home/USERNAME - that is where I put it). These files do have the access key ID and the secret access key (ID:ACESSKEY) <- format used.

If I changed the chmod on either file, form 600 to say 777, it reports back that this is wrong it needs to have no other permissions. So I know its using the files.

So what I am doing wrong?

Also made a new user, the access details I have been using are for the default user login, but it would not take them either. Not sure how to asign that user to a selected bucket or do I have to do it some other way?

Please help?

UPDATE :

What wanted to know is if the detail I got from Amazon are right, so I downloaded TntDrive to test it in windows and there was no problems. Mounted my drive without any issues....

Answers


try this link http://code.google.com/p/s3fs/wiki/FuseOverAmazon and also remember that :- The credentials files may not have lax permissions as this creates a security hole. ie. ~/.passwd-s3fs may not have others/group permissions and /etc/passwd-s3fs may not have others permissions. Set permissions on these files accordingly:

% chmod 600 ~/.passwd-s3fs % sudo chmod 640 /etc/passwd-s3fs

it should work, its working for me.


Need Your Help

How to align multiple inputs inside <td>

javascript jquery html css jquery-mobile

I work on small jquerymobile project and I need to align three inputs inside single &lt;td&gt; but I don't know how to do it. I have found several examples to do it with css and classes inside input

Does anyone know of a good salesforce.com SOQL resource?

salesforce soql

I have been looking for a decent guide to salesforce.com's SOQL query language and a schema for their tables but I can't find anything that is remotely decent. Does anyone know how I would go about

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.