Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mounting, listing and reading file works, writing doesn't #794

Open
chs-kasvu opened this issue Apr 11, 2024 · 1 comment
Open

mounting, listing and reading file works, writing doesn't #794

chs-kasvu opened this issue Apr 11, 2024 · 1 comment

Comments

@chs-kasvu
Copy link

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.

@kahing
Copy link
Owner

kahing commented Jul 24, 2024

does your credentials have write permission to the bucket? if you enable --debug_s3 what does it say?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants