NFS problems

Hello,

I mount a remote filesystem with following command:

/usr/sbin/fs-nfs2 remote_host:/export/home/xyz /home/xyz

Now I can read and write on this filesystem. But I cannot execute a
program that on this filesystem is. How can I solve this problem?

Stefan Lankes

Stefan Lankes <stefan@lfbs.rwth-aachen.de> wrote:
: Hello,

: I mount a remote filesystem with following command:

: /usr/sbin/fs-nfs2 remote_host:/export/home/xyz /home/xyz

: Now I can read and write on this filesystem. But I cannot execute a
: program that on this filesystem is. How can I solve this problem?

Are the binaries on ‘remote_host’ built for your host? What
error do you get?

-seanb

Sean Boudreau wrote:

Stefan Lankes <> stefan@lfbs.rwth-aachen.de> > wrote:
: Hello,

: I mount a remote filesystem with following command:

: /usr/sbin/fs-nfs2 remote_host:/export/home/xyz /home/xyz

: Now I can read and write on this filesystem. But I cannot execute a
: program that on this filesystem is. How can I solve this problem?

Are the binaries on ‘remote_host’ built for your host?

Yes!!! If I copy the binaries to /tmp, then I can execute the binaries.

What error do you get?

…/hello: Permission denied

But I set the permissions correctly!!!

Stefan

\

=====================================================================
| _ : Stefan Lankes, Lehrstuhl für Betriebssysteme, RWTH Aachen
||`__ : Kopernikusstr. 16, 52056 Aachen, Germany
| |) : Tel: +49-241-80-5162 Fax: +49-241-8888-339
|
) : e-mail: stefan@lfbs.rwth-aachen.de [PGP-public-key]
: Fingerprint: A7BF E5E1 6361 D032 FFBC 52DD E98D 6DAA

Stefan Lankes wrote:

Sean Boudreau wrote:

Stefan Lankes <> stefan@lfbs.rwth-aachen.de> > wrote:
: Hello,

: I mount a remote filesystem with following command:

: /usr/sbin/fs-nfs2 remote_host:/export/home/xyz /home/xyz

: Now I can read and write on this filesystem. But I cannot execute a
: program that on this filesystem is. How can I solve this problem?

Are the binaries on ‘remote_host’ built for your host?

Yes!!! If I copy the binaries to /tmp, then I can execute the binaries.

What error do you get?

./hello: Permission denied

But I set the permissions correctly!!!

Stefan

Hello,

I set to my home directory only execution permissions for user and
group. But I can only execute a programm, if I set the execution
permissions to all. We use same the numbers of user- and group-Ids on
our server (Solaris7) and our QNX-systems. Therefor I think that the
NFS-implementation of QNX has a bug.

Stefan

Stefan Lankes <stefan@lfbs.rwth-aachen.de> wrote:

./hello: Permission denied
But I set the permissions correctly!!!
Hello,
I set to my home directory only execution permissions for user and
group. But I can only execute a programm, if I set the execution
permissions to all. We use same the numbers of user- and group-Ids on
our server (Solaris7) and our QNX-systems. Therefor I think that the
NFS-implementation of QNX has a bug.

We could not reproduce here with fs-nfs2 against Solaris 2.6. (also, linux, qnx4, nto).
I am thinking if we could get some hint from the server side.
Can you tell us information of the related export point on the server side?
(on your server, please type “cat /etc/dfs/dfstab” and please let us know the
correspoinding configuration line for your /export/home/xyz").
Thanks
Weijie

Stefan