NFS client problem: trusted vs. untrusted root

I Lee Hetherington (ilh@sls.lcs.mit.edu)
Fri, 08 Jan 1999 10:36:27 -0500


In 2.2.0-pre4-ac4 (and probably others as well), I'm having a problem
with NFS permissions, especially root permissions when the client
machine does not have root privileges on the NFS server. (The server is
a NetworkAppliance box, although I doubt that is important.)

Consider the directory foo owned by root with mode 700.

As a normal user:

user% ls -l foo
ls: foo: Permission denied

As root, but root isn't trusted by server:

untrusted# ls -l foo
total 0

As root, but root is trusted by server:

trusted# ls -l foo
total 456
...

I find it extremely undesirable that the untrusted root sees an empty
directory instead of getting the permission denied message.

--Lee Hetherington

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/