mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the t and T entries, extended attributes
tmpfiles.d(5) has t to set extended attributes on a path, and T for
the path and everything below it:
t /srv/www - - - - user.mime_type=text/html
tmpfiles skipped them as unsupported.
Add both. The argument is one or more NAME=VALUE with space between,
a value with space in it goes in quotes. They are set with
lsetxattr(), a link is never followed.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
5 files changed
+170
-2
No files matched your search
@@ -13,7 +13,7 @@ files or common packages already rely on, last what few will miss.
|
||||
|
||||
* `C+`, which is read as `C`
|
||||
* `z` and `Z` only set the SELinux label when `restorecon` is installed
|
||||
* `t`, `T` for extended attributes and `h`, `H` for file attributes
|
||||
* `h`, `H` for file attributes
|
||||
* Modifiers `-` (do not fail), `=` (remove what is of another type),
|
||||
`~` (base64 argument), and `^` (credential as argument)
|
||||
* Quoted paths, a path with a space in it cannot be written
|
||||
|
||||
Reference in new issue
Block a user