Loren Zimmer
Dabbler
- Joined
- May 6, 2017
- Messages
- 25
My Freenas box is hosting several shares. A few weeks ago I noticed that a ubuntu VM (hosted on another machine) was throwing an error that it couldn't write to a folder. I thought that this was a perfect opportunity to reorganize a little and try and gain a clearer understanding of permissions and sharing.
After a little reading I thought it would be better for me to use a NFS share for the linux machine that was trying to access and write to the pool on the freenas system. I created the share, ensured that the linux machine user was a member of the group that owns the folder that's being shared, and that the group has permission to read and write. After that I followed this tutorial on how to mount the share on the linux box.
I connected to the linux machine via ssh and created the folder /mnt/backupsNFS/. Then I mounted the share like this:
What am I doing wrong or what is the next step to get the linux machine the ability to write to the /mnt/backupsNFS folder.
Any suggestions or help would be greatly appreciated.
Loren
After a little reading I thought it would be better for me to use a NFS share for the linux machine that was trying to access and write to the pool on the freenas system. I created the share, ensured that the linux machine user was a member of the group that owns the folder that's being shared, and that the group has permission to read and write. After that I followed this tutorial on how to mount the share on the linux box.
I connected to the linux machine via ssh and created the folder /mnt/backupsNFS/. Then I mounted the share like this:
Now when I try and enter the directory I get this error:sudo mount -t nfs "ipofFreenas":/path/to/NFSshare /mnt/backupsNFS
When I check the permissions of the backupsNFS folder this is what is returned:-bash: cd: backupsNFS: Permission denied
Based on the permissions that are returned, I should be able to read, write and execute, right?drwxrwxr-- 13 820 821 13 Jan 11 12:34 backupsNFS
What am I doing wrong or what is the next step to get the linux machine the ability to write to the /mnt/backupsNFS folder.
Any suggestions or help would be greatly appreciated.
Loren