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: elva...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to