You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Haoquan Wang (JIRA)" <ji...@apache.org> on 2012/10/17 10:20:03 UTC
[jira] [Created] (HDFS-4069) Security bits of some scripts in rpm
package are incorrect
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
[jira] [Updated] (HDFS-4069) File mode bits of some scripts in rpm
package are incorrect
Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley updated HDFS-4069:
-----------------------------
Target Version/s: (was: 1.1.1)
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Resolved] (HDFS-4069) File mode bits of some scripts in rpm
package are incorrect
Posted by "Harsh J (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harsh J resolved HDFS-4069.
---------------------------
Resolution: Won't Fix
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Updated] (HDFS-4069) File mode bits of some scripts in rpm
package are incorrect
Posted by "Haoquan Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haoquan Wang updated HDFS-4069:
-------------------------------
Summary: File mode bits of some scripts in rpm package are incorrect (was: Security bits of some scripts in rpm package are incorrect)
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Closed] (HDFS-4069) File mode bits of some scripts in rpm
package are incorrect
Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Foley closed HDFS-4069.
----------------------------
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Updated] (HDFS-4069) Security bits of some scripts in rpm
package are incorrect
Posted by "Haoquan Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haoquan Wang updated HDFS-4069:
-------------------------------
Description:
These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
{noformat}-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{noformat}
was:
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
> 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Commented] (HDFS-4069) File mode bits of some scripts in
rpm package are incorrect
Posted by "Haoquan Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477962#comment-13477962 ]
Haoquan Wang commented on HDFS-4069:
------------------------------------
Temporarily resolution:
chmod +x /usr/sbin/s*.sh /usr/sbin/update-hadoop-env.sh
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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
[jira] [Updated] (HDFS-4069) Security bits of some scripts in rpm
package are incorrect
Posted by "Haoquan Wang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Haoquan Wang updated HDFS-4069:
-------------------------------
Description:
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
was:
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
> 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> 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
[jira] [Commented] (HDFS-4069) File mode bits of some scripts in
rpm package are incorrect
Posted by "Harsh J (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HDFS-4069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478682#comment-13478682 ]
Harsh J commented on HDFS-4069:
-------------------------------
Hi,
Thanks for the notes and the temp-resolution bits.
Going forward, for packages please use Apache Bigtop at http://bigtop.apache.org. The Hadoop project no longer maintains nor supports its own former packages and is removing it in the future.
Resolving as Won't Fix.
> File mode 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
> Labels: patch
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> These scripts should have execute permission(755). It only happens to rpm package, deb package does not have this problem.
> {noformat}-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{noformat}
--
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