Mailing list for nfs4j, simple-nfs, and simple-nfs crash as plain user?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, is there a nfs4j/simple-nfs mailing list, where I can ask questions?

I cannot get the simple-nfs server to run as a plain user (not root).
I tried this, but I get a java exception:

$ cat exports
/ *(rw,insecure,all_squash)
$ java -jar ./target/simple-nfs-1.0-SNAPSHOT-jar-with-dependencies.jar
-root / -port 30000 -exports $PWD/exports
Exception in thread "main" java.io.UncheckedIOException:
java.nio.file.AccessDeniedException: /lost+found
       at org.dcache.simplenfs.SimpleNfsServer.<init>(SimpleNfsServer.java:77)
       at org.dcache.simplenfs.App.run(App.java:55)
       at org.dcache.simplenfs.App.main(App.java:27)
Caused by: java.nio.file.AccessDeniedException: /lost+found
       at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
       at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
       at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
       at java.base/sun.nio.fs.UnixFileSystemProvider.newDirectoryStream(UnixFileSystemProvider.java:440)
       at java.base/java.nio.file.Files.newDirectoryStream(Files.java:482)
       at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:301)
       at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:374)
       at java.base/java.nio.file.Files.walkFileTree(Files.java:2845)
       at java.base/java.nio.file.Files.walkFileTree(Files.java:2882)
       at org.dcache.simplenfs.LocalFileSystem.<init>(LocalFileSystem.java:149)
       at org.dcache.simplenfs.SimpleNfsServer.<init>(SimpleNfsServer.java:52)
       ... 2 more

Please help

Dan
-- 
Dan Shelton - Cluster Specialist Win/Lin/Bsd




[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux