Uploaded image for project: 'AdMaxLocal'
  1. AdMaxLocal
  2. AML-1427

Directories created for Merchant UI should belong to tomcat user and group

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.1.0
    • Fix Version/s: All Time Backlog
    • Component/s: Merchant UI
    • Labels:
      None
    • Environment:

      Description

      Steps:
      1. On aq-qa2-front1 server, created the realm folders at /usr/local/tsa/ui/com/thesearchagency/admaxlocal/merchant/client/realms using add_realm.sh script.
      ./add_realm.sh

      Observation:
      All the folders created have root as their owner. By default, the folders and files created by the script must have tomcat (user and group) as their owner.

      Script Execution:

      [root@aq-qa2-front1 realms]# ./add_realm.sh test_realm
      /usr/local/tsa/ui/com/thesearchagency/admaxlocal/merchant/client/realms /usr/local/tsa/ui/com/thesearchagency/admaxlocal/merchant/client/realms

      ****************************************************
      Will create realm subdirectories
      Note, no validation checks are performed on the
      realm name - buyer beware!
      ****************************************************

      Realm Name: test_realm

      /usr/local/tsa/ui/com/thesearchagency/admaxlocal/merchant/client/realms

      Folders Created :

      [root@aq-qa2-front1 realms]# ls -lrt test_realm/
      total 16
      drwxr-xr-x 2 root root 4096 Apr 19 08:08 images
      drwxr-xr-x 2 root root 4096 Apr 19 08:08 i18n
      drwxr-xr-x 2 root root 4096 Apr 19 08:08 css
      drwxr-xr-x 2 root root 4096 Apr 19 08:08 config

      Note:
      We must be testing the same for another script install.sh (/home/gsingh/system) on the same server which creates directory structure.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              gurpreet.singh Gurpreet Singh
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: