the permissions for this directory is drwxrwxr-x root vmshare.
i can successfully mount the exported dir on client side, i can move between directories and list contents, but i can’t write into it (not even as a root). on the server side, i can write to the directory only as root. the vmshare group is created on both machines with same gid as well as all users have same uids. firewalls are down.
please give some hint how to write into this dir.
thanks a lot in advance for every reply.
You need to change the permissions so all users have write access. (At the moment your users only have read access -
drwxrwxr-x ).
The easiest way to do nfs sharing is to use ldap login authentication so you have a common authentication database. That way you set it all up in one place on the server.
The server users and groups are not the same as those on the client because their user databases are not the same.
You say “not even as a root”. But that is exactly as it is configured: root_squash. This is the default because the system manager of the exporting system will most probably not be happy if the system manager of another system gets root acces in his system by default.
If I were you I would leave it at that. Use root access only when realy needed and then only from the system where the data realy is. When you decide different, change the parameter to* no_root_squash*.