Trying to fix operation not permitted
when trying to write to NFS share.
Using SMB and NFS together is perhaps not safe:
https://forums.freenas.org/index.php?threads/cifs-and-nfs-together.10918/
Let’s get rid of the NFS share and just use SMB.
Install the Samba client package:
Remove entry for NFS share.
Create empty Samba configuration file. It is necessary in order to use smbclient.
Try and manually list which SMB shares are available.
In the FreeNAS UI, select the SMB share, selected advanced, and enable “Allow Guest Access”.
Gave:
Then after reboot:
Try mounting again:
It works!
But I can only read, not write…
Remount as a user rather than as guest:
Now update /etc/fstab
to automatically mount the disk:
For more information on the x-systemd
options see here.
Now reboot for the changes to take effect.
Can re-mount manually now with: