From 2172eb7f1d25cb8d75e82686f747adfff416bfef Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Tue, 15 Jun 2021 10:28:26 +0000 Subject: [PATCH] Update storage.md --- docs.it4i/salomon/storage.md | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/docs.it4i/salomon/storage.md b/docs.it4i/salomon/storage.md index 640844b2e..b19580d68 100644 --- a/docs.it4i/salomon/storage.md +++ b/docs.it4i/salomon/storage.md @@ -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. -```console -[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]. +For more information, see the [Access Control List][11] section of the documentation. ## Shared Workspaces @@ -507,6 +480,7 @@ Transfer rates of about 28MB/s can be expected. [8]: #scratch-filesystem [9]: #shared-workspaces [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 [d]: https://support.it4i.cz/rt -- GitLab