public Boolean run() throws Exception {
        try {
          fs.setPermission(new Path(path), FsPermission.valueOf(permissions));
        } catch (Exception ex) {
          return false;
        }
        return true;
      }
Change permissions

@param path        path
@param permissions permissions in format rwxrwxrwx
@throws IOException
@throws InterruptedException
contrib/views/utils/src/main/java/org/apache/ambari/view/utils/hdfs/HdfsApi.java