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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南