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 2010/02/06 04:50:28 UTC

DO NOT REPLY [Bug 48690] New: Strange behavior if server.xml has no read permissions for others

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

           Summary: Strange behavior if server.xml has no read permissions
                    for others
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: elvanor@gmail.com


This is really strange... but it happened to me in production this morning. I
somehow copied a server.xml configuration file without read permission for
others (eg chmod o-r). Note that it was readable for the tomcat user and the
tomcat group. The server started OK but every file the webapp would be creating
on the filesystem would have by default rw----- mode (eg, no read for group or
others). This further went on to break my system.

*Only* changing the permissions of the server.xml file made Tomcat back to its
normal behavior. I had a look at the Gentoo init scripts and I really don't
think they are the cause of the problem, they dont do anything strange relative
to umask or whatever.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 48690] Strange behavior if server.xml has no read permissions for others

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

elvanor <el...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |elvanor@gmail.com

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 48690] Strange behavior if server.xml has no read permissions for others

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

Mark Thomas <ma...@apache.org> changed:

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

--- Comment #1 from Mark Thomas <ma...@apache.org> 2010-02-06 13:20:04 UTC ---
I can't repeat this with a standard Tomcat distro from the ASF on linux. It
looks like a peculiarity of your set-up. The users list may be able to help you
track down what is going on.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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