Bug#445848: tomcat5.5: configuration folder permissions

Javier Serrano Polo jasp00 at terra.es
Tue Jan 8 03:20:28 UTC 2008


tag 445848 patch
thanks

This patch adds the "private" subfolder for tomcat-users.xml. The
overall permissions are the standard ones (root.root 644), which means:

      * User instances are better supported (as said before)
      * tomcat55 can't overwrite configuration files

Further remarks:

      * The shutdown string isn't important since jsvc entered.
        server.xml doesn't need protection.
      * Permissions aren't set recursively to 644, thus custom
        configurations aren't overridden.
      * dpkg-statoverride use is based on Debian Policy 10.9.1. Maybe it
        should be used with /var folders too.
      * A directory symlink in postinst is removed. It created a symlink
        inside the pointed directory instead of overwriting the
        directory symlink. Then purging the package didn't delete this
        extra symlink.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: private_users.diff
Type: text/x-patch
Size: 5527 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20080108/1364681f/attachment-0001.bin 


More information about the pkg-java-maintainers mailing list