Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Aug 2000 15:49:57 -0300
From:      Gilson de Paiva <g-paiva@el.com.br>
To:        freebsd-questions@freebsd.org
Subject:   What am I missing? ( NFS )
Message-ID:  <398B1055.F63AD5B4@el.com.br>

next in thread | raw e-mail | index | archive | help
Hi list,
I'm trying to set up a machine that will export a filesystem used to cvsup the FreeBSD and
it's ports source.
I've been reading the man pages and searching on the web and http://docs.freebsd.org/ but
couldn't find out a solution to these error messages:

1-) On a remote machine, the user root can issue a mount withou problems, only ordinary
users get the following:

bash-2.03$ mount dialup:/usr/src /home/g-paiva/temp <enter>
nfs: can't update /var/db/mounttab for dialup:/usr/src
nfs: /usr/home/g-paiva/temp: Operation not permitted
bash-2.03$ 

2-) Locally, again, root is allowed to mount, except other users:

bash-2.03$ mount dialup:/usr/src /home/g-paiva/temp <enter>
nfs: /usr/home/g-paiva/temp: Operation not permitted
bash-2.03

The file /var/db/mounttab didn't exist, so I touched and chmoded one to 0666 on both
machines ( for testing only ) but the errors are the same.

This is the server ( dialup ) rc.conf file ( the client has a "nfs_client_enable="YES" "
in it's rc.conf ):

[... console settings ...]
hostname="dialup.intranet.el"
ifconfig_xl0="inet 192.168.10.10  netmask 255.255.255.0"
gateway_enable="YES"             # Set to YES if this host will be a gateway.
nfs_server_enable="YES"          # This host is an NFS server (or NO).
mountd_flags="-n -r"             # Flags to mountd (if NFS server enabled).
nfs_client_enable="YES"          # This host is an NFS client (or NO).
[ ... sendmail, ntp and ssh options ...]

Here is my /etc/exports file:

[... default examples ...]
/usr/src        -ro      dennys dialup 192.168.10.50
[ ... end ...]

Other clue:
bash-2.03$ mount <enter>

[...]
/dev/ad0s3e on /usr/src (ufs, NFS exported, local, writes: sync 2 async 1, reads: sync 2
async 0 )
[...]

Any ideas?

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Gilson de Paiva             E&L Producoes de Software
 mailto:npd@el.com.br        Domingos Martins - ES
 http://www.el.com.br/       Brazil
 http://www.openbsd.com.br/  Projeto OpenBSD BR
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398B1055.F63AD5B4>