Haoquan Wang created HDFS-4069:
----------------------------------

             Summary: Security bits of some scripts in rpm package are incorrect
                 Key: HDFS-4069
                 URL: https://issues.apache.org/jira/browse/HDFS-4069
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: scripts
    Affects Versions: 1.0.3, 1.1.0
         Environment: Fedora 17 3.3.4-5.fc17.x86_64, OpenJDK Runtime 
Environment 1.7.0_06-icedtea, Rackspace Cloud
            Reporter: Haoquan Wang
            Priority: Minor


These scripts should have execute permission(755). It only happens to rpm 
package, deb package does not have this problem.

-rw-r--r--. 1 root root  2143 Oct  4 22:12 /usr/sbin/slaves.sh
-rw-r--r--. 1 root root  1166 Oct  4 22:12 /usr/sbin/start-all.sh
-rw-r--r--. 1 root root  1065 Oct  4 22:12 /usr/sbin/start-balancer.sh
-rw-r--r--. 1 root root  1745 Oct  4 22:12 /usr/sbin/start-dfs.sh
-rw-r--r--. 1 root root  1145 Oct  4 22:12 /usr/sbin/start-jobhistoryserver.sh
-rw-r--r--. 1 root root  1259 Oct  4 22:12 /usr/sbin/start-mapred.sh
-rw-r--r--. 1 root root  1119 Oct  4 22:12 /usr/sbin/stop-all.sh
-rw-r--r--. 1 root root  1116 Oct  4 22:12 /usr/sbin/stop-balancer.sh
-rw-r--r--. 1 root root  1246 Oct  4 22:12 /usr/sbin/stop-dfs.sh
-rw-r--r--. 1 root root  1131 Oct  4 22:12 /usr/sbin/stop-jobhistoryserver.sh
-rw-r--r--. 1 root root  1168 Oct  4 22:12 /usr/sbin/stop-mapred.sh
-rw-r--r--. 1 root root  4210 Oct  4 22:12 /usr/sbin/update-hadoop-env.sh

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to