Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2002 14:56:10 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Joan Picanyol <pica-lists@biaix.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: chown/install over NFS
Message-ID:  <20020727195610.GA16128@dan.emsphone.com>
In-Reply-To: <20020727212706.A25482@grummit.biaix.org>
References:  <20020727212706.A25482@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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