Try turning off root_squash in your /etc/exports file... Default NFS server behavior is to prevent root on client machines from having privileged access to exported files. Servers do this by mapping the "root" user to some unprivileged user (usually the user "nobody") on the server side. This is known as *root squashing.* One way to test, can you add files/dirs as a non root user? John
On Thu, Jun 17, 2010 at 12:47 PM, James Corteciano james@linux-source.orgwrote:
Hi Boris,
[root@server]# ls -ld /nfs/iso
drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso
Regards, James
On Fri, Jun 18, 2010 at 12:36 AM, Boris Epstein borepstein@gmail.comwrote:
On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano james@linux-source.org wrote:
Hi All,
This is the settings of my NFS server (192.168.10.55)
/etc/exports: /nfs/iso 192.168.10.0/255.255.255.0(rw,sync)http://192.168.10.0/255.255.255.0%28rw,sync%29
From the remote host, I mount it correctly. But when I write/create
files/directory inside the mounted nfs directory (from /nfs/test), it
will
give me "Permission Denied".
[root@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test [root@remote]# mkdir /nfs/test/testing mkdir: cannot create directory `testing': Permission denied
Hope anyone could help me to fix this.
Thank you.
Regards, James
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
James,
On the server, who owns /nfs/iso? What are the permissions on that directory?
Boris. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos