EFS NFS POSIX Permissions

0

Hello,

I've been exploring the topic of EFS NFS POSIX Permissions and came across information about the supported identities (root, user, and groups) in POSIX. I'm curious about how the root user is defined within the EFS file system. Is it determined by the AWS User who creates the file system, or is it associated with the EC2 instance that initially mounts the file system?

Furthermore, I'm interested in understanding who the users are. Are they other AWS users, or are they associated with other EC2 instances?

I appreciate any insights you can provide. Thank you!

profile picture
Julian
已提问 1 个月前104 查看次数
1 回答
4
已接受的回答

By default, Amazon EFS uses root squashing, a common NFS feature. This means that when the root user of an NFS client accesses the EFS file system, their UID and GID are automatically mapped to the "nobody" user and group (typically UID/GID 65534), effectively stripping the elevated privileges. This behavior can be modified with custom NFS client mount options if root access is necessary.

The root user and other user identities within Amazon EFS are defined by the UID and GID of the operating systems on the client machines that mount the EFS file system. They are not determined by AWS users or directly associated with the AWS account that creates the file system. Managing access and permissions effectively requires careful configuration of these identities on your EC2 instances or other NFS clients that access EFS.

profile picture
专家
已回答 1 个月前
profile picture
专家
Artem
已审核 24 天前
profile picture
专家
Steve_M
已审核 1 个月前
profile pictureAWS
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则