/etc/exports <-> mount problem
Francois Normant
fn at fractal.math.yale.edu
Wed Jun 12 11:49:41 AEST 1991
In article <1991Jun11.193611.15878 at cs.yale.edu> fn at fractal.math.yale.edu (Francois Normant) writes:
>I have 2 RS6000s (one 530, one 930) running AIX 3.1.5., let say foo1 and foo2.
>I tried to set /etc/exports file on foo1 to export /u to foo2.
>
>On foo1
>------
>/etc/exports contains 1 line:
>/u foo2
>and I did
>exportfs -a
>
>On foo2
>------
>I first checked that foo1 was mountable:
>showmount -e foo1
>export list for foo1:
>/u foo2
>
>Then I created a directory /users/foo1
>and I tried
>mount foo1:/u /users/foo1
>and here is the result:
>
>mount foo1:/u /users/foo1
>mount: access denied for foo1:/u
>mount: giving up on:
> foo1:/u
>Permission denied
>
>
>I tried to change /etc/exports on foo1 in the following ways
>1) /u -access=foo2 => permission denied
>2) /u -access=foo2,root=foo2 => permission denied
>3) /u -root=foo2 => ok it worked, but now /u is opened to the world !
>
Thanks James you had the good answer !
My nameserver knows foo1 and foo2 as FOO1 and FOO2 (capital letters).
mount seems to be case sensitive.
I just changed my export file to
/u FOO1
and all is ok now.
Thanks for your cooperation.
--
Francois Normant - fn at math.yale.edu
Yale University - Mathematics Department
Box 2155 - Yale Station
New Haven CT 06520
More information about the Comp.unix.aix
mailing list