From a1c102d329d0e615c58da526e608bb353baabf1f Mon Sep 17 00:00:00 2001 From: nemoliu Date: Tue, 30 Dec 2008 03:21:58 +0000 Subject: - Fix for recursive permission correction PR: 129544 Submitted by: Martin --- www/tomcat6/Makefile | 2 +- www/tomcat7/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/www/tomcat6/Makefile b/www/tomcat6/Makefile index 0318d8a9fbb9..4180e9917641 100644 --- a/www/tomcat6/Makefile +++ b/www/tomcat6/Makefile @@ -124,7 +124,7 @@ do-install: @${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 ]" post-install: diff --git a/www/tomcat7/Makefile b/www/tomcat7/Makefile index 0318d8a9fbb9..4180e9917641 100644 --- a/www/tomcat7/Makefile +++ b/www/tomcat7/Makefile @@ -124,7 +124,7 @@ do-install: @${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 ]" post-install: -- cgit