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
[EMAIL PROTECTED]

Don't forget System Administrator Day! July 27, 2007!
http://www.sysadminday.com/

-- 
[EMAIL PROTECTED] mailing list

Reply via email to