From 314791e319e3ac7ce75f3a6f9ae9cc5c2b837df6 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Sep 2012 01:40:36 -0700 Subject: 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. --- bin/phase-functions.sh | 2 -- 1 file changed, 2 deletions(-) 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 -- cgit v1.2.3-1-g7c22