From owner-freebsd-questions Sat Jul 27 13:16:41 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E9F037B400 for ; Sat, 27 Jul 2002 13:16:40 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FA9B43E42 for ; Sat, 27 Jul 2002 13:16:39 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g6RJuAN0082884; Sat, 27 Jul 2002 14:56:10 -0500 (CDT) (envelope-from dan) Date: Sat, 27 Jul 2002 14:56:10 -0500 From: Dan Nelson To: Joan Picanyol Cc: freebsd-questions@FreeBSD.ORG Subject: Re: chown/install over NFS Message-ID: <20020727195610.GA16128@dan.emsphone.com> References: <20020727212706.A25482@grummit.biaix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020727212706.A25482@grummit.biaix.org> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 In the last episode (Jul 27), Joan Picanyol said: > (please honour Mail-Followup-To, I'm not subscribed) You didn't add a MFT: header, but since the standard is to CC the sender, you'll always get the message anyway :) > The fs is exported (from Linux) using 'exportfs -o > rw,all_squash,anonuid=joan,anongid=users,insecure hobbes:/export/build', > and I can mount it as a regular user on the FreeBSD system. I can create > and delete files on the directory, but I can't chown() them (not even as > root): From the linux exports manpage: In addition to this, nfsd lets you specify arbitrary uids and gids that should be mapped to user nobody as well. Finally, you can map all user requests to the anonymous uid by specifying the all_squash option. Get rid of the all_squash flag. Non-root users are not allowed to use chown. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message