Date: Wed, 10 Dec 2008 11:39:34 GMT From: Martin <nakal@web.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129544: [patch] www/tomcat6 port Makefile fix for recursive permission correction Message-ID: <200812101139.mBABdYrw054441@www.freebsd.org> Resent-Message-ID: <200812101140.mBABe0G2018713@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129544 >Category: ports >Synopsis: [patch] www/tomcat6 port Makefile fix for recursive permission correction >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 10 11:40:00 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Martin >Release: 7-STABLE >Organization: >Environment: FreeBSD kirby 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Tue Nov 25 10:23:50 CET 2008 root@kirby:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When upgrading tomcat6 Makefile corrects permission in webapps directory. The find statement causes the upgrade to fail when a directory has spaces in its name. >How-To-Repeat: mkdir -p "/usr/local/apache-tomcat6.0/webapps/test dir" portmaster www/tomcat6 >Fix: --- Makefile.bak 2008-12-10 12:28:36.000000000 +0100 +++ Makefile 2008-12-10 12:30:03.000000000 +0100 @@ -124,7 +124,7 @@ @${ECHO_MSG} " [ DONE ]" @${ECHO_MSG} -n ">> Fixing permissions..." - @${CHMOD} 755 `${FIND} ${APP_HOME} -type d` + @${FIND} ${APP_HOME} -type d -print0 | xargs -0 ${CHMOD} 755 @${ECHO_MSG} " [ DONE ]" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812101139.mBABdYrw054441>