Hi everyone,
I would like to inform you that i have installed NFS server successfully. although when I'm trying to access shared directory in exports file it's saying permission denied can anyone explain to me how would i set proper permission to exports file. would be appreciate your kindness
Thanks in advance.
For sever I'm using CentOS 6.5 Client machine CentOS 7.0 minimal.
while accessing export file permission denied
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: while accessing export file permission denied
6.5 is years out of support and has many exploits.
The current supported version is 6.7.
You need to yum update immediately.
Permissions on files are user and group based.
Your users on both machines need to map to the same uids.
The current supported version is 6.7.
You need to yum update immediately.
Permissions on files are user and group based.
Your users on both machines need to map to the same uids.
Re: while accessing export file permission denied
Also the firewall ports need to be set in /etc/sysconfig/nfs on the server and the correct ports opened in the firewall to allow the traffic through. You also need to make sure that /etc/exports allows the access.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: while accessing export file permission denied
shakeer wrote:Hi everyone,
I would like to inform you that i have installed NFS server successfully. although when I'm trying to access shared directory in exports file it's saying permission denied can anyone explain to me how would i set proper permission to exports file. would be appreciate your kindness
Thanks in advance.
For sever I'm using CentOS 6.5 Client machine CentOS 7.0 minimal.
Check the settings for the idmapper on server and client in /etc/idmapd.conf. The "Domain" must match (and not be "nobody").
http://www.softpanorama.org/Net/Applica ... body.shtml