[Slackbuilds-users] apache-tomcat slackbuild silently changes /var/tmp permissions
Sebastien BALLET
slacker6896 at gmail.com
Sat Jan 14 17:31:19 UTC 2017
Hello,
There's something else which I find troublesome in apache-tomcat.SlackBuild
at line #92-93 :
chmod -R 755 ${PKG}${TOMCAT_HOME}
chmod -R 775 ${PKG}${TOMCAT_HOME}/webapps
Note: TOMCAT_HOME=/var/lib/tomcat
I don't see any reason to set executable bit to all files in
/var/lib/tomcat, nor to set all files in /var/lib/tomcat/webapps
read/write/executable for users in tomcat group. I think the option "-R" is
not required in both cases.
--
SeB
2017-01-13 14:53 GMT+01:00 Matteo Bernardini <matteo.bernardini at gmail.com>:
> 2017-01-13 14:40 GMT+01:00 Sebastien BALLET <slacker6896 at gmail.com>:
> > Hello,
> >
> > On a clean Slackware, /var/tmp permissions are set to 1777, but once
> > apache-tomcat is installed, permissions are changed to 755 which can
> lead to
> > issues. The attached patch fixes this issue.
>
> thanks Sebastien, nice catch!
>
> I just submitted it in my branch.
>
> Matteo
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - https://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170114/e19f60a7/attachment.html>
More information about the SlackBuilds-users
mailing list