kofemann / simple-nfs

dcache nfs server to export regular file system
Apache License 2.0
14 stars 14 forks source link

set attribute error #20

Closed kofemann closed 5 years ago

kofemann commented 5 years ago

Hello I am encountering this problem what might be the reason ?

2019-10-10 01:14:11.794 [] [nfs@2049 (8)] ERROR o.d.n.v.NfsServerV3 - SETATTR java.lang.IllegalArgumentException: Illegal mode "w" must be one of "r", "rw", "rws", or "rwd" at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:239) at java.base/java.io.RandomAccessFile.(RandomAccessFile.java:214) at org.dcache.simplenfs.LocalFileSystem.setattr(LocalFileSystem.java:527) at org.dcache.nfs.vfs.PseudoFs.setattr(PseudoFs.java:326) at org.dcache.nfs.v3.HimeraNfsUtils.set_sattr(HimeraNfsUtils.java:167) at org.dcache.nfs.v3.NfsServerV3.NFSPROC3_SETATTR_3(NfsServerV3.java:1159) at org.dcache.nfs.v3.xdr.nfs3_protServerStub.dispatchOncRpcCall(nfs3_protServerStub.java:55) at org.dcache.oncrpc4j.rpc.RpcDispatcher$1.run(RpcDispatcher.java:110) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)

migrated from: https://github.com/dCache/nfs4j/issues/83