Skip to content

Commit

Permalink
HADOOP-13797 Remove hardcoded absolute path for ls. Contributed by Ch…
Browse files Browse the repository at this point in the history
…ristine Koppelt
  • Loading branch information
steveloughran committed Nov 7, 2016
1 parent b970446 commit f768955
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public static String[] getUsersForNetgroupCommand(final String netgroup) {
/** Return a command to get permission information. */
public static String[] getGetPermissionCommand() {
return (WINDOWS) ? new String[] { getWinUtilsPath(), "ls", "-F" }
: new String[] { "/bin/ls", "-ld" };
: new String[] { "ls", "-ld" };
}

/** Return a command to set permission. */
Expand Down

0 comments on commit f768955

Please sign in to comment.