Permission errors in S3 File Gateway


I have a S3 backed SMB File Gateway. While for most part it works perfectly, on occasions some files become inaccessible, they are still listed in the file system but attempting to open, moving or deleting leads to a permission error (independently of the OS where the gateway is mounted). The permission error can not be overcome by sudo and chmod has no effect. Going directly to the S3 bucket using the console I can still download the files so their content is still kept, interestingly in the same bucket there is a copy of the inaccessible file with an additional random letter suffix. Has anyone experienced a similar situation?

1개 답변

Generally, such issues are seen when multiple writer are involved. Meaning a writer other than the specified File Gateway modifying the specified file in the associated S3 bucket.

If you have Health logs enabled on the gateway, the errors are logged to the Cloud Watch log group configured on the Gateway if the S3 File Gateway fails to read/write/modify files.

Here is a reference on the different errors and possible work arounds:

Please confirm if there are multiple writers involved in this case and any details about the use case would be helpful as well.

However, if multi writer is not the case, please open a case with AWS support with additional details for further investigation.

Thank you!

답변함 5달 전
profile picture
검토됨 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠