From owner-freebsd-questions Fri Aug 4 11:49:30 2000 Delivered-To: freebsd-questions@freebsd.org Received: from srv01.el.com.br (srv01.el.com.br [200.241.214.162]) by hub.freebsd.org (Postfix) with ESMTP id 40C5137B626 for ; Fri, 4 Aug 2000 11:49:21 -0700 (PDT) (envelope-from g-paiva@el.com.br) Received: from el.com.br (dialup.intranet.el [192.168.10.10]) by srv01.el.com.br (8.9.3/8.9.3) with ESMTP id PAA17369 for ; Fri, 4 Aug 2000 15:49:13 -0300 (EST) (envelope-from g-paiva@el.com.br) Message-ID: <398B1055.F63AD5B4@el.com.br> Date: Fri, 04 Aug 2000 15:49:57 -0300 From: Gilson de Paiva Reply-To: npd@el.com.br X-Mailer: Mozilla 4.7 [en] (X11; I; FreeBSD 4.1-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: What am I missing? ( NFS ) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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 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 [...] /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