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
@@ -22,6 +22,8 @@ All relevant changes are documented in this file.
|
||||
`%w`, `%W`, `%B`, `%M`, and `%A`. Before, an entry with a `%`
|
||||
in the path was skipped. **Note:** a literal `%` in such an argument,
|
||||
e.g. in a `w` entry for `core_pattern`, must now be written `%%`
|
||||
- tmpfiles: add the `t` and `T` entries, to set extended attributes on
|
||||
a path, `T` also on everything below it
|
||||
- tmpfiles: add the `L?` entry, a link that is only made when what it
|
||||
points to exists, the same as Finit's own `l` entry
|
||||
- tmpfiles: add `--prefix=PATH`, to only run the entries for paths below
|
||||
|
||||
Reference in new issue
Block a user