Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/linux/setfacl Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# setfacl
> Set file access control lists (ACL).
> More information: <https://manned.org/setfacl>.
- [M]odify ACL of a file for user with read and write access:
`setfacl --modify u:{{username}}:rw {{path/to/file_or_directory}}`
- [M]odify [d]efault ACL of a file for all users:
`setfacl --modify --default u::rw {{path/to/file_or_directory}}`
- Remove ACL of a file for a user:
`setfacl --remove u:{{username}} {{path/to/file_or_directory}}`
- Remove all ACL entries of a file:
`setfacl --remove-all {{path/to/file_or_directory}}`