Uploaded image for project: 'Commons Daemon'
  1. Commons Daemon
  2. DAEMON-417

default umask for tomcat

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • 1.2.2
    • None
    • Jsvc
    • None

    Description

      hello there,

       

      I am not sure fi this is bug or on purpose.

      tomcat document says like below.

       Tomcat runs with a default umask of 0027 to maintain
          these permissions for files created while Tomcat is running (e.g. log files,
          expanded WARs, etc.).

       

      I can also check the default value of umask in the catalina.sh

      # Set UMASK unless it has been overridden
      if [ -z "$UMASK" ]; then
          UMASK="0027"
      fi
      umask $UMASK 

       

      however, if i run the tomcat using by jsvc, 0077 is applied by default.

      • unix/native/arguments.c : 176
      • args->umask = 0077;

       

      does jsvc conform the default value described in the docment?

      Attachments

        Activity

          People

            Unassigned Unassigned
            John Kang John Kang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: