Hello,
I am a beginer on OMV.
I am trying to share folder through NFS but once mounted is always owned by anonymous.
In detail :
I created a shared folder
I added it to NFS
The /etc/exports shows :
export/Films 192.168.0.10(rw,subtree_check,secure,all_squash,anonuid=1000,anong
id=1000)
# NFSv4 - pseudo filesystem root
/export 192.168.0.10(ro,fsid=0,root_squash,no_subtree_check,hide)
I mounted the shared directory with :
~$ sudo mount -t nfs -o rw 192.168.0.44:/Films /home/olivier/Video_Serveur
The file owner's UID is 1000 on OMV.
It is the same UID that is mounting on the client side
But once mounted the files are belonging to anonymous
$ ls -l /home/olivier/Video_Serveur/
total 2368
-rw-rw-r-- 1 nobody users 83149 févr. 5 2013 Capture du 2013-02-05 21:25:02.png
drwxrwxr-x 12 nobody 4294967294 4096 mai 3 2012 FilmDVD
-rw-r--r-- 1 nobody users 2334208 déc. 31 2010 SCN_0013.pdf
I tried the sale operation with another NFS server (on a ubuntu machine) and the files are showing the correct owner once mounted on the client.
Could you please help me ?