diff options
author | Magic_RB <magic_rb@redalder.org> | 2021-05-03 09:54:31 +0200 |
---|---|---|
committer | Magic_RB <magic_rb@redalder.org> | 2021-08-14 21:46:09 +0200 |
commit | 8438114399ce025b6977215dbaedc05697a6d958 (patch) | |
tree | ce0b627192a76da1184cc5cdc991c11384bbf888 /src/libstore/globals.hh | |
parent | d581129ef9ef5d7d65e676f6a7bfe36c82f6ea6e (diff) |
Add ignored_acls setting
Signed-off-by: Magic_RB <magic_rb@redalder.org>
Diffstat (limited to 'src/libstore/globals.hh')
-rw-r--r-- | src/libstore/globals.hh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index 8784d5faf..7e01b4960 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -805,6 +805,15 @@ public: may be useful in certain scenarios (e.g. to spin up containers or set up userspace network interfaces in tests). )"}; + + Setting<StringSet> ignoredAcls{ + this, {"security.selinux"}, "ignored-acls", + R"( + A list of ACLs that should be ignored, normally Nix attempts to + remove all ACLs from files and directories in the Nix store, but + some ACLs like `security.selinux` or `system.nfs4_acl` can't be + removed even by root. Therefore it's best to just ignore them. + )"}; #endif Setting<Strings> hashedMirrors{ |