HADOOP-13797 Remove hardcoded absolute path for ls. Contributed by Christine Koppelt

This commit is contained in:
Steve Loughran 2016-11-07 12:36:10 +00:00
parent b970446b2c
commit f76895573d

View File

@ -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. */