diff options
-rw-r--r-- | system/apache-tomcat/apache-tomcat.SlackBuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/apache-tomcat/apache-tomcat.SlackBuild b/system/apache-tomcat/apache-tomcat.SlackBuild index 3882e7cecfd22..541033b591a54 100644 --- a/system/apache-tomcat/apache-tomcat.SlackBuild +++ b/system/apache-tomcat/apache-tomcat.SlackBuild @@ -66,6 +66,11 @@ find -L . \ mkdir -p $PKG/etc/tomcat $PKG/usr/share/{tomcat,java} \ $PKG/var/{run,lib,log,tmp,spool}/tomcat + # required, otherwise, permissions on /var/tmp will be + # (re)set to 755 when package is installed. + # +chmod 1777 $PKG/var/tmp + rm -f bin/*.exe bin/*.bat bin/*.tar.gz bin/commons-daemon.jar cp -rf bin lib $PKG/usr/share/tomcat/ |