On Friday, 13 January 2017 23:20:07 CET Andrzej Telszewski wrote: > On 13/01/17 14:53, Matteo Bernardini wrote: > > 2017-01-13 14:40 GMT+01:00 Sebastien BALLET <slacker6...@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. > > This raises question: aren't you admins using any kind of package > checking tool? > If not, would you be interested to have something? > > If we came up with a list of requirements, I could cook something in C > (or C++), using libarchive. > > Then, the error like the one above would be easily caught.
I'm using lintpkg [1] to check all of my packages. It does have some permission checks, but not for /var/tmp, that's why it slipped through. Should be easy enough to add though. Grs, Heinz [1] https://github.com/pprkut/lintpkg
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 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/