On 7/18/07, Marco Calviani <[EMAIL PROTECTED]> 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

man mount
/user
gets you (*'s added by me for easy find):

user   Allow an ordinary user to mount the file system.  The
                    name of the mounting user is written to mtab so that he
                    can unmount the file system again.  ****This option implies
                    the options noexec****, nosuid, and nodev (unless
overridden
                    by subsequent options, as in the option line
                    user,exec,dev,suid)

So, short answer, add "exec" to your mount options...


HTH-

James




Any help would be appreciated,
thanks in advance,
marco
--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list

Reply via email to