KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm having problem using S3FS. I'm using ubuntu@ip-x-x-x-x:~$ /usr/bin/s3fs --version Amazon Simple Storage Service File System 1.71 And I have the password file installed in the /usr/share/myapp/s3fs-password with 600 permission. I have succeeded mounting the S3 bucket. sudo /usr/bin/s3fs -o allow_other -opasswd_file=/usr/share/myapp/s3fs-password -ouse_cache=/tmp mybucket.example.com /bucket And I have user_allow_other enabled in the /etc/fuse.conf When I tried creating a file in the bucket as root it worked. ubuntu@ip-x-x-x-x:~$ sudo su root@ip-x-x-x-x:/home/ubuntu# cd /bucket root@ip-x-x-x-x:/bucket# echo 'Hello World!' > test-`date +%s`.txt root@ip-x-x-x-x:/bucket# ls test-1373359118.txt I checked the bucket mybucket.example.com 's content and the file was successfully created. But I was having difficulties writing into the directory /bucket as different user. root@ip-x-x-x-x:/bucket# exit ubuntu@ip-x-x-x-x:~$ cd /bucket ubuntu@ip-x-x-x-x:/bucket$ echo 'Hello World!' > test-`date +%s`.txt -bash: test-1373359543.txt: Permission denied I desperately tried chmod-ing to 777 the test-1373359118.txt . And I can write into the file ubuntu@ip-x-x-x-x:/bucket$ sudo chmod 777 test-1373359118.txt ubuntu@ip-x-x-x-x:/bucket$ echo 'Test' > test-1373359118.txt ubuntu@ip-x-x-x-x:/bucket$ cat test-1373359118.txt Test Funnily, I could create a directory inside the bucket, set the chmod to 777 , and write a file there. ubuntu@ip-x-x-x-x:/bucket$ sudo mkdir -m 1777 test ubuntu@ip-x-x-x-x:/bucket$ ls test test-1373359118.txt ubuntu@ip-x-x-x-x:/bucket$ cd test ubuntu@ip-x-x-x-x:/bucket/test$ echo 'Hello World!' > test-`date +%s`.txt ub
Tags (comma-separated)
Save Edits
Cancel