Am 04.08.2019 20:54:07, "Michael Orlitzky" <m...@gentoo.org> schrieb:

On 8/4/19 2:07 PM, Conrad Kostecki wrote:
You don't have to set ACCT_USER_HOME_OWNER here. That ownership is the
common case, so the eclass will do the right thing for you and set it by
default. From acct-user.eclass:

  if [[ ${ACCT_USER_HOME} != /dev/null ]]; then
    # default ownership to user:group
    if [[ -z ${ACCT_USER_HOME_OWNER} ]]; then
        ACCT_USER_HOME_OWNER=${ACCT_USER_NAME}:${ACCT_USER_GROUPS[0]}
    fi
    fowners "${ACCT_USER_HOME_OWNER}" "${ACCT_USER_HOME}"
    fperms "${ACCT_USER_HOME_PERMS}" "${ACCT_USER_HOME}"
  fi

Thanks! Updated.



Reply via email to