I have Ubuntu 12.04 EC2 Instance and for my-domain i have a WordPress site.
My S3fs Version
Amazon Simple Storage Service File System 1.74 Copyright (C) 2010 Randy Rizun License GPL2: GNU GPL version 2 http://ift.tt/17kwWbR This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
Recently I have created a s3 bucket named "mybucket" and mounted in EC2 instances in the following path /var/www/my-domain/mybucket with the reference to the link http://ift.tt/1u6pOXJ and mounted permentantly using the /etc/fstab and using following command
s3fs#mybucket /var/www/mydomain/mybucket fuse netdev,use_cache=/tmp/cache,use_rrs=1,allow_other 0 0
and while i try the below command to change the ownership
chown myuser:daemon /var/www/my-domain/mybucket
I am getting this below error
chown: changing ownership of ‘/var/www/my-domain/mybucket’: Input/output error
and also when i upload any contents like images,files etc.. through S3 browser and if check that contents by giving ls -all in the S3 mounted folder in EC2 means i am getting following output
---------- 1 root root 10 Jan 7 08:33 New Text Document.txt
and i have ftp for my domain and when i use the FTP clients like Filezilla S3 the mounted Folder /var/www/my-domain/mybucket is not visible.
My questions are
- How to change the permissions of the S3 bucket mounted folder in a EC2 instance.
- How to upload the contents to S3 bucket so that it will have normal file permissions.(I perfer to upload using filezilla like a normal folder)
- What will be the URL for the contents of the S3 bucket folder can i use http://ift.tt/1woNQ1c or is there any other URL for accessing through web(Apache)
- How can i see the S3 mounted folder in Filezilla
Kindly help me to resolve the above issues i am working on this for past 1 week and searched lots of articles nothing helped me .
Aucun commentaire:
Enregistrer un commentaire