Re: [CentOS] NFS - Permission Denied
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 ja...@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
Re: [CentOS] NFS - Permission Denied
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, earlarami...@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 ja...@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 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS - Permission Denied
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. [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test [r...@remote]# mkdir /nfs/test/testing mkdir: cannot create directory `testing': Permission denied isn't it root squash in action? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS - Permission Denied
On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano ja...@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. [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test [r...@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
Re: [CentOS] NFS - Permission Denied
Hi Boris, [r...@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 borepst...@gmail.comwrote: On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano ja...@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. [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test [r...@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
Re: [CentOS] NFS - Permission Denied
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 ja...@linux-source.orgwrote: Hi Boris, [r...@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 borepst...@gmail.comwrote: On Thu, Jun 17, 2010 at 12:17 PM, James Corteciano ja...@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. [r...@remote]# mount -t nfs 192.168.10.55:/nfs/iso /nfs/test [r...@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 -- Did you know that it costs forty thousand dollars a year to house each prisoner?...I don't think we should give free room and board to criminals. I think they should have to run twelve hours a day on a treadmill and generate electricity. And if they don't want to run, they can rest in the chair that's hooked up to the generator. -George Carlin ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] NFS - Permission Denied
James Corteciano wrote: Hi Boris, [r...@server]# ls -ld /nfs/iso drwxrwx--- 2 root apache 4096 Jun 18 00:46 /nfs/iso as I said, root squash in action. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos