From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1IBFJp-0000N4-Ah for garchives@archives.gentoo.org; Wed, 18 Jul 2007 19:36:17 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6IJYxXJ003279; Wed, 18 Jul 2007 19:34:59 GMT Received: from ihemail1.lucent.com (ihemail1.lucent.com [135.245.0.33]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6IJQDDr024147 for ; Wed, 18 Jul 2007 19:26:13 GMT Received: from ilexp03.ndc.lucent.com (h135-3-39-50.lucent.com [135.3.39.50]) by ihemail1.lucent.com (8.13.8/IER-o) with ESMTP id l6IJPVrY023751 for ; Wed, 18 Jul 2007 14:26:07 -0500 (CDT) Received: from ilexfe01.ndc.lucent.com ([135.3.39.30]) by ilexp03.ndc.lucent.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 Jul 2007 14:25:42 -0500 Received: from [135.180.145.172] ([135.3.63.244]) by ilexfe01.ndc.lucent.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 18 Jul 2007 14:25:42 -0500 Message-ID: <469E6929.9090809@alcatel-lucent.com> Date: Wed, 18 Jul 2007 15:25:29 -0400 From: Glenn Sieb User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070425 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] nfs error: "permission denied" when executing a command References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Jul 2007 19:25:42.0403 (UTC) FILETIME=[6E663D30:01C7C971] X-Scanned-By: MIMEDefang 2.57 on 135.245.2.33 X-Archives-Salt: e26f8b47-d854-45ce-8248-40145561f385 X-Archives-Hash: d650f1c642c334ecc5be7a91eecf7b81 Marco Calviani wrote: > Hi, > i have a problem with NFS. A partition mounted on machine gentoo1 is > correctly exported and mounted in gentoo2 (that is, it is possible to > read and write on it). However whenever i try to execute a program > from gentoo2 that it is stored on the exports of gentoo1, i get the > "Permission denied" error. What can be the cause of this? > > This is my /etc/exports located on gentoo1. > > /pippo0 gentoo1(sync,no_subtree_check,rw) > /pippo1 gentoo1(sync,no_subtree_check,rw) > > and this is the gentoo2 /etc/fstab relevant part: > > gentoo1:/pippo0 /pippo0 nfs rw,user,auto 0 0 > gentoo1:/pippo1 /pippo1 nfs rw,user,auto 0 0 First, obvious questions: Have you checked to make sure your PATH is set correctly, or are you giving the full path to the executable? Do you actually have the authority to run the program in question? Another gotcha could be: Are you trying to run a program that needs to be run as root? NFS won't let you do many rootly things over NFS unless you add a no_root_squash to the share options in /etc/exports. Anywho.. I hope that helps, if not solve your problem, get you on the right track.. :) Best, --Glenn -- Glenn E. Sieb MTS - Software Applications Specialist Yangtze Project, ALV +1 732 949 5453 sieb@bell-labs.com Don't forget System Administrator Day! July 27, 2007! http://www.sysadminday.com/ -- gentoo-user@gentoo.org mailing list