Clearing files on EFS from Lambda after DataSync Operation from S3

0

After using DataSync to copy files from S3 to EFS we can see that the files have the permissions of:

-rwxr-xr-x 1 nfsnobody 65534 (when copy Ownership and copy Permissions is enabled)

or

-rw-r--r-- 1 root root (when copy Ownership and copy Permissions is disabled)

From Lambda we can see our current user is: sbx_user1051 with uid: 993, gid: 990

Because of this we're unable to delete any files copied from DataSync. Even when we change our access point, posix user we still get a permission error when trying to delete files.

Is there a better way to programmatically clear files on EFS?

답변 없음

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

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

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

관련 콘텐츠