Hello,

On a clean Slackware, /var/tmp permissions are set to 1777, but once
apache-tomcat
<https://slackbuilds.org/repository/14.2/system/apache-tomcat/> is
installed, permissions are changed to 755 which can lead to issues. The
attached patch fixes this issue.


-- 
SeB
--- apache-tomcat.SlackBuild.orig	2017-01-13 14:28:24.666837795 +0100
+++ apache-tomcat.SlackBuild	2017-01-13 14:30:42.706829119 +0100
@@ -66,6 +66,11 @@
 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/
 
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users@slackbuilds.org
http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/

Reply via email to