diff options
author | Mike Gilbert <floppym@gentoo.org> | 2021-12-01 15:30:45 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2021-12-01 15:30:45 -0500 |
commit | 7bdbc2e00e7f475f36d69eb13a523398800b569c (patch) | |
tree | 8f416105b6f87e61c5a8f83b4f2d4345220f30e7 /acct-user/root | |
parent | sys-fs/udev: fix build on musl (diff) | |
download | gentoo-7bdbc2e00e7f475f36d69eb13a523398800b569c.tar.gz gentoo-7bdbc2e00e7f475f36d69eb13a523398800b569c.tar.bz2 gentoo-7bdbc2e00e7f475f36d69eb13a523398800b569c.zip |
acct-user/root: set ACCT_USER_NO_MODIFY
Closes: https://bugs.gentoo.org/827813
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'acct-user/root')
-rw-r--r-- | acct-user/root/root-0-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/acct-user/root/root-0-r1.ebuild b/acct-user/root/root-0-r1.ebuild index f85c77b4cd56..ea2e82dfcf29 100644 --- a/acct-user/root/root-0-r1.ebuild +++ b/acct-user/root/root-0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -12,6 +12,10 @@ ACCT_USER_HOME="/root" ACCT_USER_HOME_PERMS=0700 ACCT_USER_GROUPS=( root ) +# Avoid reverting changes by the sysadmin. +# https://bugs.gentoo.org/827813 +ACCT_USER_NO_MODIFY=1 + acct-user_add_deps pkg_prerm() { |