Skip to content

Commit

Permalink
vfs: add xattr access modes to the mask
Browse files Browse the repository at this point in the history
Motivation:
the ACCESS4_XAREAD  ACCESS4_XAWRITE  ACCESS4_XALIST access
modes should be recognized by the server as valid values.

Modification:
add xattr access modes to the mask

Result:
server accepts xattr access masks.

Acked-by: Lea Morschel
Target: master, 0.20
  • Loading branch information
kofemann committed Mar 12, 2020
1 parent b2fd4a1 commit 0b38172
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/java/org/dcache/nfs/vfs/PseudoFs.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ public class PseudoFs extends ForwardingFileSystem {

private final static int ACCESS4_MASK =
ACCESS4_DELETE | ACCESS4_EXECUTE | ACCESS4_EXTEND
| ACCESS4_LOOKUP | ACCESS4_MODIFY | ACCESS4_READ;
| ACCESS4_LOOKUP | ACCESS4_MODIFY | ACCESS4_READ
| ACCESS4_XAREAD | ACCESS4_XAWRITE | ACCESS4_XALIST;

public PseudoFs(VirtualFileSystem inner, RpcCall call, ExportTable exportTable) {
_inner = inner;
Expand Down

0 comments on commit 0b38172

Please sign in to comment.