private HiveResourceACLs getResourceACLs(final FileSystem fs, final FileStatus stat) {
    String owner = stat.getOwner();
    String group = stat.getGroup();
    HiveResourceACLsImpl acls = new HiveResourceACLsImpl();
    FsPermission permission = stat.getPermission();
    if (permission.getUserAction().implies(FsAction.READ)) {
      acls.addUserEntry(owner, HiveResourceACLs.Privilege.SELECT, HiveResourceACLs.AccessResult.ALLOWED);
    }
    if (permission.getGroupAction().implies(FsAction.READ)) {
      acls.addGroupEntry(group, HiveResourceACLs.Privilege.SELECT, HiveResourceACLs.AccessResult.ALLOWED);
    }
    if (permission.getOtherAction().implies(FsAction.READ)) {
      acls.addGroupEntry("public", HiveResourceACLs.Privilege.SELECT, HiveResourceACLs.AccessResult.ALLOWED);
    }
    return acls;
  }
PolicyProvider for storage based authorizer based on hdfs permission string
ql/src/java/org/apache/hadoop/hive/ql/security/authorization/HDFSPermissionPolicyProvider.java