2 個答案
- 最新
- 最多得票
- 最多評論
0
Hello,
You can grant other users permissions to the FSx for Lustre file system by editing either the ownership or the POSIX permissions of the mount point (for eg., /fsx).
A user with root privileges can grant other users access to the file system as follows:
- To change the ownership to a non-root user and group, use the following:
$ sudo chown user:group /fsx
For example:
sudo chown ubuntu:ubuntu /fsx
- To change permissions of the file system to something more permissive, use the following:
$ sudo chmod 777 /fsx
This would then apply to all EC2 instances that have the file system mounted.
相關內容
- 已提問 6 個月前
- 已提問 6 個月前
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 10 個月前
Unfortunately that doesn't work. The permissions assigned to the mount point get overwritten when the file system get mounted.
Before mount: drwxrwxrwx 2 ubuntu ubuntu 4096 Dec 6 21:41 fsx/
After mount: drwxr-xr-x 4 root root 33280 Dec 5 22:18 fsx/