Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19902

Ambari scripts have 777 permission which is a major security concern (change came from 2.4.x)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • ambari-agent, ambari-server
    • None

    Description

      If we look at the below output these files have 777 perms :

      [root@h1 ~]# ll /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py 
      -rwxrwxrwx. 1 root root 22471 Nov 23 07:40 /usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py 
      
      [root@h1 ~]# ll /var/lib/ambari-server/resources/scripts/configs.sh 
      -rwxrwxrwx. 1 root root 9801 Nov 23 07:27 /var/lib/ambari-server/resources/scripts/configs.sh 
      

      Attachments

        1. AMBARI-19902.patch
          6 kB
          Vitaly Brodetskyi

        Issue Links

          Activity

            People

              vbrodetskyi Vitaly Brodetskyi
              vbrodetskyi Vitaly Brodetskyi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: