Le 3/12/2016 à 08:44, paul.sz...@sydney.edu.au a écrit :
> Would it be worthwhile to handle them both in the same way?
> Maybe some other things in postinst could get the same treatment.
> (Simple is easier to keep secure.)
Hi Paul,
You are right I could have done the same thing for
Dear Emmanuel,
The two directories
/etc/tomcat8/Catalina
/etc/tomcat8/Catalina/localhost
have similar ownership and permissions, but they are set up differently:
localhost is "delivered" writable, while Catalina is delivered without
but is then set so in postinst (and re-set at each upgrade).
Le 2/12/2016 à 00:48, paul.sz...@sydney.edu.au a écrit :
> You seem to say that /etc/tomcat8/Catalina/localhost does not need to
> be writable by tomcat8, setting it so was useless (thus wrong).
For the stable update I've left /etc/tomcat8/Catalina/localhost writable
by tomcat8. As you
tag 845393 + pending
thanks
Some bugs in the tomcat8 package are closed in revision
d28c720ec76f020d4a4865931a58aba47f8bfc6b in branch ' jessie' by
Emmanuel Bourg
The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-java/tomcat8.git/commit/?id=d28c720
Commit message:
Fixed a
Dear Emmanuel,
(Yes I had tomcat6, then went to tomcat8, skipping tomcat7; and have
inherited things.)
You seem to say that /etc/tomcat8/Catalina/localhost does not need to
be writable by tomcat8, setting it so was useless (thus wrong).
What about the /etc/tomcat8/Catalina directory, is
Le 2/12/2016 à 00:32, Markus Koschany a écrit :
> Just my 2 cents about the "other" packages that install files into
> /etc/tomcat8/Catalina/localhost. In my opinion they should just symlink
> files into this path if at all. You mentioned jspwiki as one possible
> candidate in one of your earlier
On 02.12.2016 00:15, Emmanuel Bourg wrote:
> Le 1/12/2016 à 21:49, paul.sz...@sydney.edu.au a écrit :
[...]
>> Maybe /etc/tomcat8/Catalina/localhost is to be "delivered" writable from
>> the DEB package, the ownership only to be fixed in postinst? In the
>> current DEB, that directory is not
Le 1/12/2016 à 21:49, paul.sz...@sydney.edu.au a écrit :
> Sorry for my previous outbursts. I was wrong.
No problem, thanks a lot for the review.
> However... will tomcat still "work"? On my machine, I have one XML file
> /etc/tomcat8/Catalina/localhost/mapleta.xml
> in there, for the one
Dear Emmanuel,
Sorry for my previous outbursts. I was wrong.
Your fix (chmod-ing just Catalina, not localhost) is fine: if you do not
chmod localhost, then there is no issue even if localhost is replaced by
a symlink pointing somewhere.
However... will tomcat still "work"? On my machine, I have
Hmm... I just accused you of being mistaken... but maybe it is I
who is wrong. - Now thinking it through again.
Cheers, Paul
Dear Emmanuel,
>> The bug depends on "Catalina" being writable; the permissions on
>> "localhost" are irrelevant.
>
> The postinst script no longer runs chmod 755 on the localhost directory.
> If I'm not mistaken this fixes the issue you reported.
>
>
Le 1/12/2016 à 20:37, paul.sz...@sydney.edu.au a écrit :
> The bug depends on "Catalina" being writable; the permissions on
> "localhost" are irrelevant.
Hi Paul,
The postinst script no longer runs chmod 755 on the localhost directory.
If I'm not mistaken this fixes the issue you reported.
Dear Emmanuel,
> No longer make /etc/tomcat8/Catalina/localhost writable ...
The bug depends on "Catalina" being writable; the permissions on
"localhost" are irrelevant.
Please re-open.
Cheers, Paul
Paul Szabo p...@maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of
tag 845393 + pending
thanks
Some bugs in the tomcat8 package are closed in revision
02570d621344cdc7cf3f3632fcbf6f6e024aa1d6 in branch ' experimental'
by Emmanuel Bourg
The full diff can be seen at
https://anonscm.debian.org/cgit/pkg-java/tomcat8.git/commit/?id=02570d6
Commit message:
No
14 matches
Mail list logo