dCache / nfs4j

Pure Java NFSv3 and NFSv4.2 implementation
Other
240 stars 76 forks source link

Permission denied for OPEN with mode=EXCLUSIVE4_1 #75

Open Toilal opened 5 years ago

Toilal commented 5 years ago

On NFSv4.1, It seems OperationOPEN opened with EXCLUSIVE4_1 mode can't be write by subsequent OperationWRITE operation (access denied in PseudoFs checks).

cva_attrs contains a single attribute mode=0, causing the file to be writable by nobody.

I'll try to fully understand the problem and add some details later.