mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the h and H entries, file attributes
tmpfiles.d(5) has h to set file attributes, as chattr(1) does, and H
for the path and everything below it:
h /var/log/journal - - - - +C
tmpfiles skipped them as unsupported.
Add both. The argument is the letters chattr(1) has, after a + to
add them, which is the default, a - to remove them, or a = to have
just these set. Only files and directories have such attributes,
anything else is left alone.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
8 files changed
+131
-7
No files matched your search
+1
-1
@@ -23,7 +23,7 @@ For your convenience a set of *optional* plugins are available:
|
||||
file systems must be writable for this plugin to work.
|
||||
|
||||
This plugin is a wrapper for the [tmpfiles.d(5)][] implementation that
|
||||
Finit has. Capable but limited: no attributes or subvolumes. It
|
||||
Finit has. Capable but limited: no btrfs subvolumes. It
|
||||
runs `tmpfiles --create --remove --boot`, so entries marked boot-only
|
||||
with a `!` are run here and at no other time.
|
||||
|
||||
|
||||
Reference in new issue
Block a user