code: public static String permissions(Path path) {
          try {
              return permissions(getUnixMode(path));
          } catch (IOException e) {
              throw Exceptions.propagate(e);
          }
      }
docs: Calculates permissions for a {@link Path}
  
  @param path the {@link Path} to calculate the permissions for
  @return a {@link String} representation of the permissions