commit: 6fd345466e6afddbc2e4231dd7eb45b1685586a1 Author: Brian Evans <grknight <AT> gentoo <DOT> org> AuthorDate: Tue Sep 5 13:52:06 2023 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Tue Sep 5 15:05:25 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fd34546
acct-user/cron: set home owner and perms In keeping with history and what sys-process/cronbase tries to accomplish, acct-user/cron should be setting ACCT_USER_HOME_OWNER="root:cron" and ACCT_USER_HOME_PERMS="0750". Because acct-user/cron is often merged before sys-process/cronbase(as it is in RDEPEND) and its keepdir with owner/group, the end result is that incorrect permissions can be set on directory creation. Closes: https://bugs.gentoo.org/913346 Closes: https://github.com/gentoo/gentoo/pull/32630 Signed-off-by: Tomas Fabrizio Orsi <torsi <AT> fi.uba.ar> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> acct-user/cron/{cron-0-r1.ebuild => cron-0-r2.ebuild} | 2 ++ 1 file changed, 2 insertions(+) diff --git a/acct-user/cron/cron-0-r1.ebuild b/acct-user/cron/cron-0-r2.ebuild similarity index 82% rename from acct-user/cron/cron-0-r1.ebuild rename to acct-user/cron/cron-0-r2.ebuild index cae4953127b9..882965270c4e 100644 --- a/acct-user/cron/cron-0-r1.ebuild +++ b/acct-user/cron/cron-0-r2.ebuild @@ -10,5 +10,7 @@ DESCRIPTION="A user for sys-process/cronbase" ACCT_USER_GROUPS=( "cron" ) ACCT_USER_HOME="/var/spool/cron" ACCT_USER_ID="16" +ACCT_USER_HOME_OWNER="root:cron" +ACCT_USER_HOME_PERMS="0750" acct-user_add_deps
