Skip to content
Snippets Groups Projects
Commit 2172eb7f authored by Jan Siwiec's avatar Jan Siwiec
Browse files

Update storage.md

parent 05ed6369
No related branches found
No related tags found
1 merge request!323extended-acls-storage-section
Pipeline #19724 passed with warnings
...@@ -140,34 +140,7 @@ Extended ACLs provide another security mechanism beside the standard POSIX ACLs ...@@ -140,34 +140,7 @@ Extended ACLs provide another security mechanism beside the standard POSIX ACLs
ACLs on a Lustre file system work exactly like ACLs on any Linux file system. They are manipulated with the standard tools in the standard manner. Below, we create a directory and allow a specific user access. ACLs on a Lustre file system work exactly like ACLs on any Linux file system. They are manipulated with the standard tools in the standard manner. Below, we create a directory and allow a specific user access.
```console For more information, see the [Access Control List][11] section of the documentation.
[vop999@login1.salomon ~]$ umask 027
[vop999@login1.salomon ~]$ mkdir test
[vop999@login1.salomon ~]$ ls -ld test
drwxr-x--- 2 vop999 vop999 4096 Nov 5 14:17 test
[vop999@login1.salomon ~]$ getfacl test
# file: test
# owner: vop999
# group: vop999
user::rwx
group::r-x
other::---
[vop999@login1.salomon ~]$ setfacl -m user:johnsm:rwx test
[vop999@login1.salomon ~]$ ls -ld test
drwxrwx---+ 2 vop999 vop999 4096 Nov 5 14:17 test
[vop999@login1.salomon ~]$ getfacl test
# file: test
# owner: vop999
# group: vop999
user::rwx
user:johnsm:rwx
group::r-x
mask::rwx
other::---
```
Default ACL mechanism can be used to replace setuid/setgid permissions on directories. Setting a default ACL on a directory (-d flag to setfacl) will cause the ACL permissions to be inherited by any newly created file or subdirectory within the directory. Refer to this page for more information on Linux ACL at [Red Hat guide][c].
## Shared Workspaces ## Shared Workspaces
...@@ -507,6 +480,7 @@ Transfer rates of about 28MB/s can be expected. ...@@ -507,6 +480,7 @@ Transfer rates of about 28MB/s can be expected.
[8]: #scratch-filesystem [8]: #scratch-filesystem
[9]: #shared-workspaces [9]: #shared-workspaces
[10]: ../general/obtaining-login-credentials/obtaining-login-credentials.md [10]: ../general/obtaining-login-credentials/obtaining-login-credentials.md
[11]: ../storage/standard-file-acl.md
[c]: https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/ch09s05.html [c]: https://access.redhat.com/documentation/en-US/Red_Hat_Storage/2.0/html/Administration_Guide/ch09s05.html
[d]: https://support.it4i.cz/rt [d]: https://support.it4i.cz/rt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment