From: Zac Medico Date: Sat, 3 Feb 2007 12:27:21 +0000 (-0000) Subject: For bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876... X-Git-Tag: v2.1.2-r9~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18d21a30feb0b7e2b2b9e79465695c66601465d8;p=portage.git For bug #165034, make sure that symlinks are excluded from chmod calls. (trunk r5876:5879) svn path=/main/branches/2.1.2/; revision=5882 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index aa3c1281f..d943a64a1 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -456,7 +456,7 @@ unpack() { done # Do not chmod '.' since it's probably ${WORKDIR} and PORTAGE_WORKDIR_MODE # should be preserved. - find . -mindepth 1 -print0 | ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w + find . -mindepth 1 ! -type l -print0 | ${XARGS} -0 chmod -f a+rX,u+w,g-w,o-w } strip_duplicate_slashes() {