I have successfully mounts my bucket using s3fs, but I cannot see the objects (files in sub-directories) I created using the PHP library. If I add a file at the root level, I can see that. If I create a file at the root level, I can see that. If I create a directory, I can create items in it, but I cannot see the directories and objects I had previously created.
How can I see items created previously? I really want to create an EBS, mount it, and get this stuff off the S3. I was hoping mounting the S3 like this would make that easy.
Since I am just trying to move objects from S3 to EBS, I have been trying s3sync as well. No luck. When s3sync tried to create directories it created something weird...
---x-wx--T 1 root root 272 Oct 21 15:25 /photos/0
./s3sync.rb:638:in `initialize': No such file or directory - /photos/0.s3syncTemp (Errno::ENOENT)
HELP!!!
Thank for any help.
Thom
It's because the subdirectories have no ACL assigned. I solved the problem by creating a subdirectory object with public-read permission/acl on S3.
e.g.
$s3->putObjectString("", 'bucketName', 'directoryName/', S3::ACL_PUBLIC_READ);