I have installed s3fs and made a bucket with aws S3. I am able to write to it. But when I upload a file to the bucket and try reading it I get the following error.
You do not have the permissions necessary to open the file.
I've tried chmod 777
and I don't have permissions, I've tried sudo and I still don't have permissions.
I mount my drive by typing the following line:
s3fs babylon ~/MyMount -o passwd_file=~/.passwd-s3fs
How can I get permissions to access my files? Looking at them with ls -l I see the following:
~/MyMount$ ls -l
total 5
---------- 1 root root 2272 Mar 25 21:47 lab8.cpp
-rw-rw-r-- 1 kaz kaz 16 Mar 24 22:44 nextday.txt
---------- 1 root root 586 Mar 20 13:27 sample.c
-rw-rw-r-- 1 kaz kaz 6 Mar 26 01:29 temp.txt