Gentoo Archives: gentoo-user

From: Glenn Sieb <sieb@××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nfs error: "permission denied" when executing a command
Date: Wed, 18 Jul 2007 19:36:17
Message-Id: 469E6929.9090809@alcatel-lucent.com
In Reply to: [gentoo-user] nfs error: "permission denied" when executing a command by Marco Calviani
1 Marco Calviani wrote:
2 > Hi,
3 > i have a problem with NFS. A partition mounted on machine gentoo1 is
4 > correctly exported and mounted in gentoo2 (that is, it is possible to
5 > read and write on it). However whenever i try to execute a program
6 > from gentoo2 that it is stored on the exports of gentoo1, i get the
7 > "Permission denied" error. What can be the cause of this?
8 >
9 > This is my /etc/exports located on gentoo1.
10 >
11 > /pippo0 gentoo1(sync,no_subtree_check,rw)
12 > /pippo1 gentoo1(sync,no_subtree_check,rw)
13 >
14 > and this is the gentoo2 /etc/fstab relevant part:
15 >
16 > gentoo1:/pippo0 /pippo0 nfs rw,user,auto 0 0
17 > gentoo1:/pippo1 /pippo1 nfs rw,user,auto 0 0
18
19 First, obvious questions: Have you checked to make sure your PATH is set
20 correctly, or are you giving the full path to the executable? Do you
21 actually have the authority to run the program in question?
22
23 Another gotcha could be: Are you trying to run a program that needs to
24 be run as root? NFS won't let you do many rootly things over NFS unless
25 you add a no_root_squash to the share options in /etc/exports.
26
27 Anywho.. I hope that helps, if not solve your problem, get you on the
28 right track.. :)
29
30 Best,
31 --Glenn
32
33 --
34 Glenn E. Sieb
35 MTS - Software Applications Specialist
36 Yangtze Project, ALV
37 +1 732 949 5453
38 sieb@×××××××××.com
39
40 Don't forget System Administrator Day! July 27, 2007!
41 http://www.sysadminday.com/
42
43 --
44 gentoo-user@g.o mailing list