Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Jul 1998 18:36:44 +0200 (CEST)
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/7272: mountpoint on NFS server can be removed by NFS client
Message-ID:  <199807131636.SAA17239@internal>

next in thread | raw e-mail | index | archive | help

>Number:         7272
>Category:       kern
>Synopsis:       mountpoint on NFS server can be removed by NFS client
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 13 09:40:00 PDT 1998
>Last-Modified:
>Originator:     Andre Albsmeier
>Organization:
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

two FreeBSD 2.2.6-STABLE  machines; one NFS server and one client

>Description:

Machine S is the NFS server, machine C is the client.

On S we mount /dev/sd2c on /test:

	root@S:> mount /dev/sd2c /test

In /test we have a directory test2 and we mount /dev/sd3c on /test/test2:

	root@S:> mount /dev/sd3c /test/test2

/test is properly exported to C. On the client we mount /test from the server:

	root@C:> mount S:/test /mnt

Then we (accidently) remove test2 on the client:

	root@C:> rmdir /mnt/test2

and it is gone... Sure this is no normal operation but IMHO it should not
be allowed since it could be done accidently. There is even no simple
way to recover from this (apart from reboot, any ideas?).


>How-To-Repeat:

	see above

>Fix:
	
	Don't know.
>Audit-Trail:
>Unformatted:

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?199807131636.SAA17239>