On Sat, Mar 9, 2019 at 3:02 AM geraldo netto <[email protected]> wrote:

> Signed-off-by: geraldo netto <[email protected]>
> ---
>  ...0006-Add-script-managment-role-to-tomcat-user.patch | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git
> a/tomcat/patches/perf/0006-Add-script-managment-role-to-tomcat-user.patch
> b/tomcat/patches/perf/0006-Add-script-managment-role-to-tomcat-user.patch
> index 9c068f4..91f01e9 100644
> ---
> a/tomcat/patches/perf/0006-Add-script-managment-role-to-tomcat-user.patch
> +++
> b/tomcat/patches/perf/0006-Add-script-managment-role-to-tomcat-user.patch
> @@ -16,12 +16,12 @@ diff --git a/conf/tomcat-users.xml
> b/conf/tomcat-users.xml
>  index bcf840a..aad3acb 100644
>  --- a/conf/tomcat-users.xml
>  +++ b/conf/tomcat-users.xml
> -@@ -27,5 +27,5 @@
> -   <!.. ..> that surrounds them.
> +@@ -41,5 +41,5 @@
> +   <user username="both" password="<must-be-changed>"
> roles="tomcat,role1"/>
> +   <user username="role1" password="<must-be-changed>" roles="role1"/>
>   -->
> -   <role rolename="tomcat"/>
> --  <user username="tomcat" password="tomcat"
> roles="manager-gui,admin-gui"/>
> -+  <user username="tomcat" password="tomcat"
> roles="manager-gui,admin-gui,manager-script"/>
> +-<user username="tomcat" password="tomcat" roles="manager-gui,admin-gui"/>
> ++<user username="tomcat" password="tomcat"
> roles="manager-gui,admin-gui,manager-script"/>
>

If I understand correctly (and please correct me if I'm don't), this patch
is mis-titled. It doesn't "add manager-script permission",
Rather it updates the *existing* patch which did that in to work with
Tomcat 9's slightly changed structure of the tomcat-users.xml
file - in one place the indentation changed, in another place the patch's
context changed.

Right?


>   </tomcat-users>
>  --
>  1.8.5.3
> --
> 2.17.1
>
> --
> You received this message because you are subscribed to the Google Groups
> "OSv Development" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to