2002-08-20 18:45:25

by Ian Truelsen

[permalink] [raw]
Subject: problem with exports file

I am not sure what it is that I am doing wrong here, but it is driving
me nuts.

Here is what I am trying to set up: I want some individual directories
on the server to be available to my whole lan, but I want one machine to
have access to the whole directory tree for administration. Here is what
I have in my exports file:

/home/ian *.ihtruelsen.2y.net(rw,no_root_squash)
/media *.ihtruelsen.2y.net(rw,no_root_squash)
/home/httpd *.ihtruelsen.2y.net(rw,no_root_squash)
/ minion.ihtruelsen.2y.net(rw,no_root_squash)

This works fine for the individual directories, but the whole structure
will not mount on the minion machine, giving me a Permission denied
error.

Can anyone give me some idea why this won't work as imagined?

--
Ian Truelsen
Masters program in Philosophy
University of Manitoba, Winnipeg, Canada
BA (Wilfrid Laurier University)
Email: [email protected]
Homepage: http://www.ihtruelsen.2y.net
PGP key available at: http://www.ihtruelsen.2y.net/pgp.html
and http://pgp.mit.edu (search 'ihtruelsen')


Attachments:
(No filename) (189.00 B)

2002-08-20 18:54:39

by Joseph L. Hood

[permalink] [raw]
Subject: Re: problem with exports file

I don't believe you can share both a directory and a sub-directory of that
same directory at the same time.

Joe


On Tue, 20 Aug 2002, Ian Truelsen wrote:

> I am not sure what it is that I am doing wrong here, but it is driving
> me nuts.
>
> Here is what I am trying to set up: I want some individual directories
> on the server to be available to my whole lan, but I want one machine to
> have access to the whole directory tree for administration. Here is what
> I have in my exports file:
>
> /home/ian *.ihtruelsen.2y.net(rw,no_root_squash)
> /media *.ihtruelsen.2y.net(rw,no_root_squash)
> /home/httpd *.ihtruelsen.2y.net(rw,no_root_squash)
> / minion.ihtruelsen.2y.net(rw,no_root_squash)
>
> This works fine for the individual directories, but the whole structure
> will not mount on the minion machine, giving me a Permission denied
> error.
>
> Can anyone give me some idea why this won't work as imagined?
>
>



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

2002-08-20 22:13:33

by Suresh Chadive

[permalink] [raw]
Subject: Re: problem with exports file


I just guess a possible solution for it.

" If a directory is exported, its parent and child
directories can not be exported if they are in the same file
system "
[ http://www.tldp.org, NFS-Howto ]

If this is true and your case will become an example
of it, then minion is given both a child directory and
its parent.

First, in the wild card usage
/(child directory) *.ihtruelsen.2y.net

Second, in the laststatement
/ minion.ihtruelsen.2y.net

So, the solution may be excluding minion from
the wildcard group. It may be done in two
ways :

1) Is there any way to exclude a particular machine from wild
card ? - I do not know it and like to hear from the group.
If exists, exclude it.

2) If the number of machines is less, write all
avoiding wildcards. Wildcards, I think, are not
preferable for some other reasons also.

regards,
-suresh

----------------------
SURESH CHADIVE

H9, #319,
Indian Instt. of Technology,
Bombay.

e-mail : [email protected]


On Aug 21, 2002, at 12:23am, Ian Truelsen wrote:

> Date: Wed, 21 Aug 2002 00:23:01 +0530
> From: Ian Truelsen <[email protected]>
> To: NFS List <[email protected]>
> Subject: [NFS] problem with exports file
>
> I am not sure what it is that I am doing wrong here, but it is driving
> me nuts.
>
> Here is what I am trying to set up: I want some individual directories
> on the server to be available to my whole lan, but I want one machine to
> have access to the whole directory tree for administration. Here is what
> I have in my exports file:
>
> /home/ian *.ihtruelsen.2y.net(rw,no_root_squash)
> /media *.ihtruelsen.2y.net(rw,no_root_squash)
> /home/httpd *.ihtruelsen.2y.net(rw,no_root_squash)
> / minion.ihtruelsen.2y.net(rw,no_root_squash)
>
> This works fine for the individual directories, but the whole structure
> will not mount on the minion machine, giving me a Permission denied
> error.
>
> Can anyone give me some idea why this won't work as imagined?
>
> --
> Ian Truelsen
> Masters program in Philosophy
> University of Manitoba, Winnipeg, Canada
> BA (Wilfrid Laurier University)
> Email: [email protected]
> Homepage: http://www.ihtruelsen.2y.net
> PGP key available at: http://www.ihtruelsen.2y.net/pgp.html
> and http://pgp.mit.edu (search 'ihtruelsen')





-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs