Ejemplo n.º 1
0
 /**
  * Set the {@link FsPermission} of this {@link INodeFile}. Since this is a file, the {@link
  * FsAction#EXECUTE} action, if any, is ignored.
  */
 protected void setPermission(FsPermission permission) {
   super.setPermission(permission.applyUMask(UMASK));
 }
 /**
  * Apply umask.
  *
  * @see FsPermission#applyUMask(FsPermission)
  */
 public PermissionStatus applyUMask(FsPermission umask) {
   permission = permission.applyUMask(umask);
   return this;
 }