Restless
Restless

Reputation: 538

Cannot see folder details after mounting s3 bucket

I've started using S3 to backup data from an EC2 instance running server (Ubuntu Server). I've managed get this working using s3fs. Created the folder /mnt/s3 and I've mounted the bucket on that folder. Everything seems to be working fine so far: I can see and change bucket content, mount and unmount it just fine, etc. However I've noticed something kinda strange (for me at least) after mounting the bucket, "ls -la" on /mnt/ returned this:

drwxr-xr-x  3 root root 4096 2011-10-24 16:18 .
drwxr-xr-x 22 root root 4096 2011-07-07 18:17 ..
d?????????  ? ?    ?       ?                ? s3

So I've been wondering what can cause this behaviour. Does anyone have an idea about what causes this? Like I said, everything seems to be working, I'm just curious about this phenomenon and I'd like to know if I should be worried about it or not.

Btw, when I umount the bucket, the folder details become normal again.

Thanks in advance.

Upvotes: 1

Views: 1999

Answers (1)

Jitendra Bhalothia
Jitendra Bhalothia

Reputation: 407

sudo s3fs -o allow_other BUcket_Name /mnt(where you want to mount)

Upvotes: 1

Related Questions