2 Answers
- Newest
- Most votes
- Most comments
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.
Relevant content
- asked 2 years ago
- Accepted Answer
- Accepted Answerasked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 7 months ago
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/