mounting, listing and reading file works, writing doesn't
Opened this issue · 1 comments
I have tried using dedicated account for my bucket but also root account, in case it was a privilege mistake with said dedicated account. Current existing files have been uploaded through AWS UI.
Also I notice that adding files this way doesn't get noticed, and files won't appear in my mount. I need to unmount and mount again to see them. I can deal with that somehow, but not being able to write files is a much bigger issue.
$ ./goofys pipelinejobs shared
$ ls -lA shared/tmp/
drwxr-xr-x 2 ubuntu ubuntu 4096 Apr 11 09:15 ./
drwxr-xr-x 2 ubuntu ubuntu 4096 Apr 11 09:15 ../
-rw-r--r-- 1 ubuntu ubuntu 1659377521 Apr 11 07:54 file1.bin
-rw-r--r-- 1 ubuntu ubuntu 25427 Apr 11 09:14 file2.jpeg
-rw-r--r-- 1 ubuntu ubuntu 2578 Apr 11 09:15 file3.jpg
$ touch shared/tmp/test.txt
touch: failed to close 'shared/tmp/test.txt': Permission denied
I get same error with vi or nano: "Permission denied".
I have tried doing the same as root, but it makes no difference.
does your credentials have write permission to the bucket? if you enable --debug_s3 what does it say?