You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2015/01/21 13:35:32 UTC

[Bug 57473] New: WarWatcher does not throw any warning if permissions are broken

https://issues.apache.org/bugzilla/show_bug.cgi?id=57473

            Bug ID: 57473
           Summary: WarWatcher does not throw any warning if permissions
                    are broken
           Product: Tomcat 8
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Cluster
          Assignee: dev@tomcat.apache.org
          Reporter: theo.ch@mley.fr

Created attachment 32386
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=32386&action=edit
WarWatcher patch for improved checks and logging

This is a follow-up to the "FarmWarDeployer not checking watchDir" thread on
tomcat-users.

In the FarmWarDelpoyer and WarWatcher components, if the permissions of the
watchDir are broken (i.e 644 instead of 755), Tomcat does not inform the user
that something is wrong, with no log whatsoever after putting a war file in the
watchDir.

A patch by Christopher Schultz is attached that adds some checking and logging
to WarWatcher to allow an easier debugging.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57473] WarWatcher does not throw any warning if permissions are broken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57473

Théo Chamley <th...@mley.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |theo.ch@mley.fr

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 57473] WarWatcher does not throw any warning if permissions are broken

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=57473

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
Fixed in trunk in r1653550.
Back-ported to Tomcat 8 in r1653552. Will be in Tomcat 8.0.18.
Back-ported to Tomcat 7 in r1653559. Will be in Tomcat 7.0.58.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org