diff options
author | Sebastien Ballet <slacker6896@gmail.com> | 2017-01-13 14:53:20 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-15 06:35:25 +0700 |
commit | 97d37ce3151edad35d69186aef06394b922592d9 (patch) | |
tree | 29de2098fc956602a8fc0f8f76fa008b1f1e387c /system/apache-tomcat/apache-tomcat.SlackBuild | |
parent | 575b7a112011fbe46cfa3a1777be34ccc767d2b0 (diff) | |
download | slackbuilds-97d37ce3151edad35d69186aef06394b922592d9.tar.gz |
system/apache-tomcat: Fix packaged /var/tmp permissions.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/apache-tomcat/apache-tomcat.SlackBuild')
-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 3882e7cecf..541033b591 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/ |