Skip to content

Getting permission denied on uploads only #2972

Answered by ashmeenkaur
arielGribov asked this question in Q&A
Discussion options

You must be logged in to vote

GCSFuse is not recommended for use as a bucket in an SFTP server, and this is not a supported use case. Please refer to the file handle limits limitation here: https://cloud.google.com/storage/docs/cloud-storage-fuse/overview#expandable-1.

GCSFuse defaults to file-mode 0644 and dir-mode 0755 for mounted files and directories. I suspect that the other user (the third-party client user in this case) does not have write permissions to your directory. You can use the --file-mode and --dir-mode flags along with allow_other flag to set the appropriate permissions. Please note that GCSFuse does not support chmod and similar operations to control access.

Please refer to https://github.com/GoogleC…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@arielGribov
Comment options

Answer selected by ashmeenkaur
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants