summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2023-09-05 10:52:06 -0300
committerMike Gilbert <floppym@gentoo.org>2023-09-05 11:05:25 -0400
commit6fd345466e6afddbc2e4231dd7eb45b1685586a1 (patch)
tree2a1a56949207d1b410ec2068e4a912197cde79ef /acct-user
parentnet-misc/libteam: add 1.23 (diff)
downloadgentoo-6fd345466e6afddbc2e4231dd7eb45b1685586a1.tar.gz
gentoo-6fd345466e6afddbc2e4231dd7eb45b1685586a1.tar.bz2
gentoo-6fd345466e6afddbc2e4231dd7eb45b1685586a1.zip
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@fi.uba.ar> Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'acct-user')
-rw-r--r--acct-user/cron/cron-0-r2.ebuild (renamed from acct-user/cron/cron-0-r1.ebuild)2
1 files changed, 2 insertions, 0 deletions
diff --git a/acct-user/cron/cron-0-r1.ebuild b/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