Difference between
modified post 5121e00d by Anonymous on Tue 16th Jan 2024 14:55
original post 3ea280a51 by Anonymous on Fri 12th Jan 2024 19:47
Download diff
Show
old version |
new version |
both versions
| 1 | 1 | git clone https://github.com/kofemann/simple-nfs.git | |
| 2 | 2 | cd simple-nfs/ | |
| 3 | 3 | mvn package | |
| 4 | 4 | find . -name \*.jar | |
| 5 | - | echo "/ *(rw,insecure,all_squash,anonuid=1616,anongid=1616)" >exports | |
| 5 | + | echo "/ *(rw,insecure,all_squash,anonuid=$(id -u),anongid=$(id -g))" >exports | |
| 6 | 6 | mkdir nfsroot | |
| 7 | 7 | chmod a=u nfsroot | |
| 8 | 8 | java -jar ./target/simple-nfs-1.0-SNAPSHOT-jar-with-dependencies.jar -root "$PWD/nfsroot" -port 30000 -exports $PWD/exports | |
| 9 | 9 |
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
nrubsig.kpaste.net RSS