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?

回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ