code: public static FsPermission read(DataInput in) throws IOException {
      FsPermission p = new FsPermission();
      p.readFields(in);
      return p;
    }
docs: Create and initialize a {@link FsPermission} from {@link DataInput}.