*BSD News Article 84119


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@anorak.coverform.lan (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to set the permission of NFS
Date: 3 Dec 1996 02:39:11 -0000
Organization: Coverform Ltd.
Lines: 26
Sender: brian@awfulhak.demon.co.uk
Message-ID: <5803sf$3f2@anorak.coverform.lan>
References: <57n626$99@ustsu10.ust.hk>
Reply-To: brian%anorak.coverform.lan@awfulhak.demon.co.uk
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8

In article <57n626$99@ustsu10.ust.hk>,
	cscleung@ug.cs.ust.hk (Leung Calvin) writes:
: Hi,
: 
: 	I have question in setting the /etc/exports file.  I have man the 
: exports and know to map the root access to a users.
: eg.
: 
: 	/usr/home/kelvin -maproot=kelvin dmc004
: 
: where kelvin is the user in local.
: 
: When client mount the nfs, it doesn't change the owner of the mount point to
: the user kelvin.
: What is the problem?

-maproot changes nfs accesses by user ID 0 to that of the given user (I
thought you had to specify an ID rather than a name).  It's for people
that don't want remote root UIDs to trash their filesystem.  It's got
nothing to do with the "root" or "mountpoint" of the filesystem.

-- 
Brian <brian%anorak.coverform.lan@awfulhak.demon.co.uk>
      <http://www.awfulhak.demon.co.uk/>
Don't _EVER_ lose your sense of humour....
.