From: Glenn Sieb <sieb@alcatel-lucent.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nfs error: "permission denied" when executing a command
Date: Wed, 18 Jul 2007 15:25:29 -0400 [thread overview]
Message-ID: <469E6929.9090809@alcatel-lucent.com> (raw)
In-Reply-To: <da5cd1900707181213x2356e862g8f62c1f005dd0859@mail.gmail.com>
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
next prev parent reply other threads:[~2007-07-18 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-18 19:13 [gentoo-user] nfs error: "permission denied" when executing a command Marco Calviani
2007-07-18 19:25 ` Glenn Sieb [this message]
2007-07-18 22:05 ` James Ausmus
2007-07-19 8:31 ` Marco Calviani
2007-07-19 7:37 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469E6929.9090809@alcatel-lucent.com \
--to=sieb@alcatel-lucent.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox