[
https://issues.apache.org/jira/browse/HADOOP-13797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15643704#comment-15643704
]
Steve Loughran commented on HADOOP-13797:
-----------------------------------------
Do we introduce any security risk by doing this? That a malicious version of ls
has got onto the path?
Given we did the change for bin/bash, I doubt there is any risk —just need to
be thorough.
> Remove hardcoded absolute path for ls
> -------------------------------------
>
> Key: HADOOP-13797
> URL: https://issues.apache.org/jira/browse/HADOOP-13797
> Project: Hadoop Common
> Issue Type: Bug
> Components: util
> Reporter: Christine Koppelt
> Attachments: HADOOP-13797.patch
>
>
> Shell.java has a hardcoded path to /bin/ls which is not correct on all
> platforms, eg. not on NixOS.
> (see HADOOP-13457 for a similar issue)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]