On Tue, Jul 1, 2008 at 5:12 PM, David Vuorio <[EMAIL PROTECTED]> wrote: >> $ ls -al >> total 8 >> drwxr-xr-x 2 root wheel 512 Jul 1 14:52 . >> drwxr-xr-x 15 root wheel 512 May 21 13:20 .. >> -rw-rw-rw- 1 root wheel 0 Jul 1 14:55 bar >> -rw------- 1 root wheel 0 Jul 1 14:52 foo >> -rw-rw---- 1 root wheel 0 Jul 1 14:52 foobar >> $ touch bar >> $ touch foo >> touch: foo: Permission denied >> $ touch foobar >> touch: foobar: Permission denied >> $ less foobar >> foobar: Permission denied > > Sorry for spamming, but I just realised an interesting thing. > > If I try (from the client) to access the files on the server, and I use my > regular account, then my membership of the wheel allows me to access two > of the files above. However, if I become root I can only access the > world-readable file, even if I use -maproot=root or -mapall=root . > > Also, root is part of the wheel group on both the server and the client.
I've been recently bitten by this one and felt stupid for not having enough rtfm'ed. You have to export the root of the filesystem. (and eventually use -alldirs if you want to mount only /test.) Landry