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
Looks like you need to allow nfs through your firewall so that it can be accessed Sent from my BlackBerry® wireless device available from bmobile.
-----Original Message----- From: James Corteciano james@linux-source.org Date: Fri, 18 Jun 2010 00:17:04 To: CentOS mailing listcentos@centos.org Subject: [CentOS] NFS - Permission Denied
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
If it's giving him a file system error on the remote host it's NOT a fw issue
Sent from my iPhone
On Jun 17, 2010, at 12:22 PM, earlaramirez@gmail.com wrote:
Looks like you need to allow nfs through your firewall so that it can be accessed Sent from my BlackBerry® wireless device available from bmobile.
-----Original Message----- From: James Corteciano james@linux-source.org Date: Fri, 18 Jun 2010 00:17:04 To: CentOS mailing listcentos@centos.org Subject: [CentOS] NFS - Permission Denied
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
James Corteciano 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
isn't it root squash in action?
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)
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.
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
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