Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Jul 2001 09:59:54 -0500
From:      "Vladimir V. Egorin" <vladimir@math.uic.edu>
To:        mike@FreeBSD.org
Cc:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/14712: root has access to NFS mounted directories with maproot=nobody
Message-ID:  <20010721095953.A7008@math.uic.edu>
In-Reply-To: <200107210232.f6L2WlC67594@freefall.freebsd.org>; from mike@FreeBSD.org on Fri, Jul 20, 2001 at 07:32:47PM -0700
References:  <200107210232.f6L2WlC67594@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 20, 2001 at 07:32:47PM -0700, mike@FreeBSD.org wrote:
	> Synopsis: root has access to NFS mounted directories with maproot=nobody
	> 
	> State-Changed-From-To: open->feedback
	> State-Changed-By: mike
	> State-Changed-When: Fri Jul 20 19:32:27 PDT 2001
	> State-Changed-Why: 
	> 
	> Does this problem still occur in newer versions of FreeBSD,
	> such as 4.3-RELEASE?
	> 
	> http://www.FreeBSD.org/cgi/query-pr.cgi?pr=14712

The problem is still there:

On the NFS server:
# ls -ld /var/test
drwx--x--x  2 root  wheel  512 Jul 21 09:55 /var/test
# touch /var/test/file

On the NFS server:
/var is shared: (/etc/exports)
/var -maproot=nobody


On the client:

# mount -o vers=3 hopper:/var /mnt
# ls /mnt/test
/mnt/test: Permission denied


# umount /mnt
# mount -o vers=2 hopper:/var /mnt
# ls /mnt/test
file

Please let me know if you need any debugging help.
-- 
Vladimir

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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