Skip to content

Commit

Permalink
acct-user/cron: set home owner and perms
Browse files Browse the repository at this point in the history
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: gentoo#32630
Signed-off-by: Tomas Fabrizio Orsi <[email protected]>
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
Brian Evans authored and floppym committed Sep 5, 2023
1 parent 03ea5e5 commit 6fd3454
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6fd3454

Please sign in to comment.