From owner-freebsd-questions Tue Mar 19 21:25:43 2002 Delivered-To: freebsd-questions@freebsd.org Received: from gurudom.ramax.com (h24-68-240-50.cg.shawcable.net [24.68.240.50]) by hub.freebsd.org (Postfix) with SMTP id 2C54737B419 for ; Tue, 19 Mar 2002 21:25:34 -0800 (PST) Received: (qmail 29689 invoked from network); 20 Mar 2002 05:25:32 -0000 Received: from unknown (HELO bismark.io.sys.ramax.com) (10.0.0.1) by netopia.io.sys with SMTP; 20 Mar 2002 05:25:32 -0000 To: Nathan Mace Cc: freebsd-questions@freebsd.org Subject: Re: NFS problems References: <200203200200.aa34663@salmon.maths.tcd.ie> <200203200225.VAA27663@uce55.uchaswv.edu> From: Alex Rodioukov Date: 19 Mar 2002 22:25:32 -0700 In-Reply-To: <200203200225.VAA27663@uce55.uchaswv.edu> Message-ID: <87zo13stdf.fsf@bismark.io.sys> Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Nathan Mace writes: [...] > oh i wasn't running it as root. but now when i run it as root, i get > a flat out "permission denied" error. the nfs_reserved_port_only was > what i had to set to "NO" to get NFS to work....whats up with that? You do have NFS relevant options enabled in kernel, don't you? :) Assuming that you want to have rw access to the NFS share and that you're exporting the $HOME of user 'nathan' and 'nathan' is the owner of the files, I would check the following: On server: 1. Options nfs_server_enable="YES" nfs_reserved_port_only="YES" are set in /etc/rc.conf 2. You can see portmap, mountd, nfsd and rpc.statd processes running. 3. You might want to play with -maproot and -mapall in /etc/exports. I guess in your case it might be useful to set -maproot=nathan On client: 1. Options nfs_reserved_port_only="YES" nfs_client_enable="YES" are set /etc/rc.conf 2. You can see nfsiod process running. I would suggest rebooting both client and server after making all the changes. > nathan Regards, Alex. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message