Skip to content
Snippets Groups Projects
Commit ef4eec0e authored by Roman Sliva's avatar Roman Sliva
Browse files

Update standard-file-acl.md (user john)

parent c21d573f
No related branches found
No related tags found
1 merge request!323extended-acls-storage-section
Pipeline #19712 passed with warnings
...@@ -12,10 +12,10 @@ To show permissions, use: ...@@ -12,10 +12,10 @@ To show permissions, use:
### Examples ### Examples
Set all permissions for user John to file named abc: Set all permissions for user john to file named abc:
```code ```code
# setfacl -m "u:John:rwx" abc # setfacl -m "u:john:rwx" abc
``` ```
Check permissions: Check permissions:
...@@ -26,16 +26,16 @@ Check permissions: ...@@ -26,16 +26,16 @@ Check permissions:
# owner: someone # owner: someone
# group: someone # group: someone
user::rw- user::rw-
user:John:rwx user:john:rwx
group::r-- group::r--
mask::rwx mask::rwx
other::r-- other::r--
``` ```
Change permissions for user John: Change permissions for user john:
```code ```code
# setfacl -m "u:John:r-x" abc # setfacl -m "u:john:r-x" abc
``` ```
Check permissions: Check permissions:
...@@ -46,7 +46,7 @@ Check permissions: ...@@ -46,7 +46,7 @@ Check permissions:
# owner: someone # owner: someone
# group: someone # group: someone
user::rw- user::rw-
user:John:r-x user:john:r-x
group::r-- group::r--
mask::r-x mask::r-x
other::r-- other::r--
......
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