protected void chmod(TachyonURI path, String modeStr, boolean recursive) throws IOException {
short newPermission = 0;
try {
newPermission = Short.parseShort(modeStr, 8);
SetAclOptions options =
<BUG>new SetAclOptions.Builder().setPermission(newPermission).setRecursive(recursive).build();
</BUG>
mTfs.setAcl(path, options);
System.out.println("Changed permission of " + path + " to "
+ Integer.toOctalString(newPermission));

protected void chmod(TachyonURI path, String modeStr, boolean recursive) throws IOException {
short newPermission = 0;
try {
newPermission = Short.parseShort(modeStr, 8);
SetAclOptions options =
SetAclOptions.defaults().setPermission(newPermission).setRecursive(recursive);
mTfs.setAcl(path, options);
System.out.println("Changed permission of " + path + " to "
+ Integer.toOctalString(newPermission));
