Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-765

User tomcat permissions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • JWS 3.1.0 GA, JWS 3.1.0 SP1 ER1
    • tomcat, zip
    • None
    • Release Notes

      This is should be an issue on Solaris

      [hudson@dev21-03 jws-3.1]$ ls -lah ./share/tomcat7/
      total 24
      drwxrwxr-x   7 root     tomcat        10 Jul 10 03:03 .
      drwxr-xr-x   9 hudson   hudson         9 Feb  7 16:39 ..
      drwxr-xr-x   2 hudson   hudson        16 Jul 10 03:03 bin
      drwxrwxr-x   2 root     tomcat         9 Jul  7 07:26 conf
      drwxr-xr-x   2 hudson   hudson         3 Jul  7 07:26 extras
      drwxr-xr-x   3 hudson   hudson        31 Jul  7 07:26 lib
      lrwxrwxrwx   1 root     root          16 Jul 10 03:03 logs -> /var/log/tomcat7
      lrwxrwxrwx   1 root     root          23 Jul 10 03:03 temp -> /var/cache/tomcat7/temp
      drwxrwxr-x   6 root     tomcat         6 Jan 12 10:00 webapps
      lrwxrwxrwx   1 root     root          23 Jul 10 03:03 work -> /var/cache/tomcat7/work
      [hudson@dev21-03 jws-3.1]$ ls -lah ./share/tomcat8/
      total 26
      drwxrwxr-x   7 root     tomcat        10 Jul 10 03:03 .
      drwxr-xr-x   9 hudson   hudson         9 Feb  7 16:39 ..
      drwxr-xr-x   2 hudson   hudson        16 Jul 10 03:03 bin
      drwxrwxr-x   2 root     tomcat        10 Jul  7 07:26 conf
      drwxr-xr-x   2 hudson   hudson         3 Jul  7 07:26 extras
      drwxr-xr-x   2 hudson   hudson        32 Jul  7 07:26 lib
      lrwxrwxrwx   1 root     root          16 Jul 10 03:03 logs -> /var/log/tomcat8
      lrwxrwxrwx   1 root     root          23 Jul 10 03:03 temp -> /var/cache/tomcat8/temp
      drwxrwxr-x   6 root     tomcat         6 Jan 12 10:04 webapps
      lrwxrwxrwx   1 root     root          23 Jul 10 03:03 work -> /var/cache/tomcat8/work
      

      The line with an issue

      drwxrwxr-x   7 root     tomcat        10 Jul 10 03:03 .

      User tomcat shouldn't need write permissions on catalina base directory

            rhn-support-csutherl Coty Sutherland
            bsikora Bogdan Sikora (Inactive)
            Jan Štefl Jan Štefl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: