Hi.
Thank you for your comment.
Whatever I configure I am still not able to get what I need. Here is an example.
NetApp NFS
/vol/iso -sec=sys,rw=172.16.0.0/16,root=172.16.0.0/16,anon=65535,nosuid
1. I mount the volume on Linux as root
2. I create a file
3. File is created with root permissions. Not with anonymous user permissions as it suppose to do.
To be able to manage R/W access to any file from CIFS using wafl.default_unix_user, I need to be able to manage the permission from the root user first, because if I create a file as a root, it will have root:root permissions and therefore users accessing the share using CIFS are not able to rewrite or delete the file.
So that is the place I am lost at this moment.
OpenFiler NFS
/mnt/store02/iso/iso 172.16.0.0/255.255.0.0(rw,anonuid=96,anongid=96,secure,all_squash,wdelay,async)
1. If you mount it as root, any file created by root inherits permissions 96:96. This works correctly
2. Samba also rewrites the group to 96.
So here, I have it quite simple and it works as one would expect.
I would be interested to know how other people use ISO share for both Windows and Linux where everyone have got R/W permissions and can delete any file which other user created.