Hey there, trying to make a simple NFS share that I can access over the local intranet but I keep getting permission errors, everything is root. Hopefully I've given enough information below, but if you need any more just ask - would appreciate any help. Many thanks.
export folder permissions
root@openmediavault:/export/data# ls -la
total 4
drwxrwsr-x 1 root users 0 May 13 14:59 .
drwxr-xr-x 3 root root 4096 May 13 14:27 ..
/etc/exports file
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/data 192.168.0.0/24(fsid=3e3f2218-deed-411a-b43e-4ed503a61c8a,rw,subtree_check,insecure,root_squash)
# NFSv4 - pseudo filesystem root
/export 192.168.0.0/24(ro,fsid=0,root_squash,no_subtree_check,hide)
Client command
mount -t nfs 192.168.0.88:/export/data/ /mnt/data/
Also tried using the -o rw option as well as mounting to a /tmp directory (not that itd make a difference) with the same results
root@DietPi:/mnt/data# ls -la
total 4
drwxrwsr-x 1 root users 0 May 13 14:59 .
drwxr-xr-x 7 root root 4096 May 13 15:26 ..
root@DietPi:/mnt/data# touch test
touch: cannot touch 'test': Permission denied
I also tried specifying the client IP 192.168.0.233 manually, as well as adding root_squash on to the options, same result.