fn@fractal.math.yale.edu (Francois Normant) (06/12/91)
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 ! I never experienced that problem with IRIX, SUN3, SPARC... Any idea will be welcome. Thanks -- Francois Normant - fn@math.yale.edu Yale University - Mathematics Department Box 2155 - Yale Station New Haven CT 06520
resnick@cogsci.uiuc.edu (Pete Resnick) (06/12/91)
fn@fractal.math.yale.edu (Francois Normant) writes: >/etc/exports contains 1 line: >/u foo2 This is not a legit entry. >1) /u -access=foo2 => permission denied >2) /u -access=foo2,root=foo2 => permission denied I will bet that these will work if instead of foo2, you use the fully qualified domain name. Not a bug, but a feature. pr -- Pete Resnick (...so what is a mojo, and why would one be rising?) Graduate assistant - Philosophy Department, Gregory Hall, UIUC System manager - Cognitive Science Group, Beckman Institute, UIUC Internet/ARPAnet/EDUnet : resnick@cogsci.uiuc.edu BITNET (if no other way) : FREE0285@UIUCVMD
fn@fractal.math.yale.edu (Francois Normant) (06/12/91)
In article <1991Jun11.193611.15878@cs.yale.edu> fn@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@math.yale.edu Yale University - Mathematics Department Box 2155 - Yale Station New Haven CT 06520
jigang@geoblue.gcn.uoknor.edu (Jigang Yang) (06/12/91)
In article <1991Jun12.014941.19618@cs.yale.edu>, fn@fractal.math.yale.edu (Francois Normant) writes: |> In article <1991Jun11.193611.15878@cs.yale.edu> fn@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 | In my case, I have to export the dir using full name of the node: /u FOO1.DOMAIN.EDU (although there is a alias: foo1.domain.edu) If I only use: /u FOO1 I still get the same error message. |> and all is ok now. |> |> Thanks for your cooperation. |> |> -- |> Francois Normant - fn@math.yale.edu |> Yale University - Mathematics Department |> Box 2155 - Yale Station |> New Haven CT 06520 -- Jigang Yang | jigang@geoblue.gcn.uoknor.edu Geosciences Computing Network | jigang@gcn.uoknor.edu University of Oklahoma | 830 Van Vleet Oval,Gould Hall#116 | jigang@uokgcn.bitnet Norman, Oklahoma 73019 | Telphone: 405-325-5540
flick@flick.almaden.ibm.com (Myron Flickner) (06/18/91)
In a recent append, fn@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. You need to specify the fully qualified domain name on the access stanza of /etc/exports in the case ( upper/lower ) returned by your nameserver. The match should not be case specific and will be fixed in AIX 2007. For more information contact IBM support referencing APAR IX19278.