Subject: Re: nfs bug?
To: None <current-users@netbsd.org>
From: Aaron J. Grier <agrier@poofygoof.com>
List: current-users
Date: 05/31/2004 14:02:21
On Mon, May 31, 2004 at 10:03:23AM +0000, Martin J. Laubach wrote:
> | bash-2.05b# mkdir -p foo/foo/foo
> | bash-2.05b# rm -rf foo
> | rm: foo/foo: Operation not permitted
> | rm: foo: Directory not empty
>
> I just tried from my OS-X box to my 1.6 file server:
>
> [celery:~/asparagus] mjl% mkdir -p foo/foo/foo
> [celery:~/asparagus] mjl% rm -rf foo
> [celery:~/asparagus] mjl%
>
> So at least it doesn't look as if it were a server side bug?
it's more of a base incompatibility between differing implementations.
http://mail-index.netbsd.org/current-users/2004/05/25/0013.html
the microsoft NFS server apparently expects the client to perform the
recursion necessary to support rm -r, and the NetBSD NFS client isn't
properly handling that case.
I imagine the checks necessary for client-side recursion could be added;
perhaps there's already existing hooks for it?
--
Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofygoof.com
"someday the industry will have throbbing frontal lobes and will be able
to write provably correct software. also, I want a pony." -- Zach Brown