From: Zac Medico Date: Sun, 30 Sep 2012 08:40:36 +0000 (-0700) Subject: phase-functions.sh: remove redundant chown/chmod X-Git-Tag: v2.2.0_alpha135~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6;p=portage.git phase-functions.sh: remove redundant chown/chmod These calls trigger warnings in prefix mode, since commit 45bedf9cdc10fafd94858f67d62b36d35dd99544. They are redundant, since the permissions are handled the _post_phase_userpriv_perms function. --- diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh index 7a0baf453..7a1d6c538 100644 --- a/bin/phase-functions.sh +++ b/bin/phase-functions.sh @@ -971,8 +971,6 @@ __ebuild_main() { __save_ebuild_env | __filter_readonly_variables \ --filter-features > "$T/environment" assert "__save_ebuild_env failed" - chown portage:portage "$T/environment" &>/dev/null - chmod g+w "$T/environment" &>/dev/null fi [[ -n $PORTAGE_EBUILD_EXIT_FILE ]] && > "$PORTAGE_EBUILD_EXIT_FILE" if [[ -n $PORTAGE_IPC_DAEMON ]] ; then