Hello everybody !
I'm using openmediavault for a few months now, first openmediavault v2.x, it used to work fine, and then I got the "Wonderful" idea to make my NAS an "HTPC/NAS", so i decided to install Debian Wheezy, and then openmediavault on top of it, everything was fine except the fact that almost every program I was trying to install were programs with no more updates, no more support, and for some of them "Kodi", I never found how to install it, I was locked by old libraries into the system like libc6...
Then I decided to upgrade my system to Debian Jessie, (I did a backup on my PC, usb keys, external hard drives...), and I did a fresh install (Formatting all the disks...) and i Installed openmediavault v3.0.x, and... I have a lot of problems with it, lot of omv-extras plugins are not working, some are buggy ... (I know it's testing ^^) but with Jessie I was able to install all the programs I wanted to, like Kodi (The most important for me),
Okay, there are external programs, not maintained by openmediavault itself, so we need to wait that the developers works on their programs to be working with the new omv.
But now I'm trying to setup a NFS share on my NAS to share files between my Linux devices (I tried Samba but on my Linux devices it's pretty slow... and there are some disconnections...) NFS was working fine on omv2 and was usefull to do easy file sharing between linux devices...
Now on omv3.0, i have some problems, I can mount my shared folders, but then, when I try to go on the folder, i'm getting an error : "Permission Denied", and I do not understand why because the mounting of the folder is working well...
and the first command (we can't see the end on the picture) is
Have a great Day, Thank you !
EDIT :
First af all I changed the path to " /export/SharedDirectory"
After few tests... I got some weird problems :
Now on the RPI, I can Access one of the three shared folders (ONLY when i am logged as root) (the two others : Permission Denied), I can make a Folder in it, then on my Windows PC, i can see the created folder but can't go in it (Do not have the permissions)...
I think that there are severals problems, some on the NAS, Bad configuration ? Bugs ?
and permissions problems on my RPI pi, and my other devices, an "ls -al" give me the user root to the shared folders, then as superuser I can do what i want to do (creating files, directories...) (only the one of the shared directories, the others : Permission denied, even logged as root)...
but the root mount can't be changed !? When i try do mount without being root, it says me "You need to be root to do that", and when the mount is configured in the /etc/fstab, the folders are automatically mounted as root !?
EDIT 2 : Hmmm, I think I understand some things now, but i didn't solve all the problems,
So, To have an access to the shared Directory (with my RPI pi) , for the moment, I need to have the option (on the server) no_root_squash (If I understood correctly, this option means that the client machine has the same root privileges to the shared folder as the server machine, is this right ?)
Without this option, i can't do anything, Permissions denied (regular user or root...)
There I can mount (as root), I don't know how to mount the directory as a regular user, "normally" via terminal "mount bla bla..." but tells me "You need to be root" or @boot via fstab, (automatically root ?)
I can do what I want with a regular user (pi) only if I "chmod 777" the shared directory, then I can undo what i did with my Windows Computer via smb (no permissions error)
My question is now, How can I mount (and use ) the shared directories, without being root, without the no_root_squash option, without using chmod 777 for giving the right at "everybody" ?
Thanks