-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Steinar:
Thanks for responding.
Here is the contents of my /etc/hosts
*********************************************
127.0.0.1 localhost
127.0.1.1 deblin.fiwwi.prv deblin
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
*********************************************
deblin is the name of the computer running nfs-kernel-server.
My /etc/host.allow and /etc/host.deny files are empty.
Here is the contents of my /etc/exports
**********************************************
# /etc/exports: the access control list for filesystems which may be
exported
# to NFS clients. See exports(5).
#
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync) hostname2(ro,sync)
#
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes gss/krb5i(rw,sync)
#
#Export music files
/home/music 192.168.20.0/255.255.255.0(rw,sync,no_subtree_check)
#Export Debian directoy
/home/debian 192.168.20.0/255.255.255.0(rw,sync,no_subtree_check)
#Export steven home
/home/steven 192.168.20.0/255.255.255.0(rw,sync,no_subtree_check)
*********************************************
I also tried export to *(rw,sync), localhost(rw,sync) and
127.0.0.1(rw,sync) with the same results.
I am still learning Debian/Linux and have not delved into bind as yet.
Please advise.
Thank you.
*********************************************************************
Steven Demetrius
- ---------------------------------------------------------------------
Tel: (855 12) 810 350
E-mail: [EMAIL PROTECTED]
*********************************************************************
Steven Demetrius ©2006
*********************************************************************
Steinar H. Gunderson wrote:
> On Fri, Oct 06, 2006 at 10:59:44AM +0700, Steven Demetrius wrote:
>> Attempts to mount an nfs directory on the localhost results in a
>> "permission denied" response. That is trying to mount the nfs directory on
>> a mount point on the same machine that is running the nfs server.
>>
>> Mounting the nfs directroy on a remote machine works as expected.
>
> What does your /etc/hosts look like? Are you sure you opened up for
> 127.0.0.1?
>
>> The reason for doing a localhost mount is to be able to have access to
>> directories on the main system from a chroot environment.
>
> Why not use bind mounts instead?
>
> /* Steinar */
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFKw0WE5pZTZCwxmQRAk++AJ9YroiNZ1OkJofxt0kpfUwgvpaF3ACghIxe
/rE4x5rIQFhXrC/9hWH7k+o=
=swvt
-----END PGP SIGNATURE-----