mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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>
This commit is contained in:
committed by
Mike Gilbert
parent
03ea5e5f07
commit
6fd345466e
@@ -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
|
||||
Reference in New Issue
Block a user