Re: Problems with NFS (client) under 5.1.

From: Josef Karthauser <joe_at_FreeBSD.org>
Date: Tue, 21 Oct 2003 16:23:51 +0100
On Tue, Oct 21, 2003 at 03:33:37PM +0200, Bernd Walter wrote:
> 
> You are root - and root is often mapped to nobody on the server.
> Are you shure that nobody is allowed to see?
> The ls -ld /mnt case is strange, but /mnt is already on the server
> namespace.
> 

The linux boxes on the network don't appear to have any problems.
Either way why is the /mnt entry disappearing?

    phoenix# mount rebus:/rebus/home /mnt
    phoenix# suspend
    [1] + Suspended (signal)      su
    $ id
    uid=1001(joe) gid=1001(joe) groups=1001(joe), 0(wheel)
    $ ls /mnt
    ls: /mnt: Permission denied
    $ ls -l /
    ls: mnt: Permission denied
    total 45
    -r--r--r--   1 root  wheel  4735 Jun  5 01:57 COPYRIGHT
    drwxr-xr-x   2 root  wheel  1024 Sep 17 19:31 bin
    drwxr-xr-x   6 root  wheel   512 Sep 18 17:04 boot
    drwxr-xr-x   2 root  wheel   512 Jul  2 17:32 cdrom
    lrwxr-xr-x   1 root  wheel    10 Jul  2 17:49 compat -> usr/compat
    dr-xr-xr-x   4 root  wheel   512 Oct 21 12:09 dev
    drwxr-xr-x   2 root  wheel   512 Jul  2 17:32 dist
    -rw-------   1 root  wheel  4096 Sep 17 11:28 entropy
    drwxr-xr-x  16 root  wheel  2048 Oct 21 12:21 etc
    lrwxr-xr-x   1 root  wheel     9 Sep 17 12:10 home -> /usr/home
    drwxr-xr-x   2 root  wheel  1024 Sep 17 19:33 lib
    drwxr-xr-x   2 root  wheel   512 Sep 17 19:33 libexec
    lrwxr-xr-x   1 root  wheel    10 Sep 23 11:40 local -> /usr/local
    dr-xr-xr-x   2 root  wheel   512 Jun  5 01:53 proc
    drwxr-xr-x   2 root  wheel  2560 Sep 17 19:33 rescue
    drwxr-xr-x   3 root  wheel   512 Sep 29 13:01 root
    drwxr-xr-x   2 root  wheel  2560 Sep 17 19:33 sbin
    drwxr-xr-x   4 root  wheel  1024 Jul  2 17:32 stand
    lrwxr-xr-x   1 root  wheel    11 Sep 17 19:30 sys -> usr/src/sys
    drwxrwxrwt   4 root  wheel   512 Oct 21 15:27 tmp
    drwxr-xr-x  18 root  wheel   512 Oct 16 11:48 usr
    drwxr-xr-x  20 root  wheel   512 Oct 16 11:53 var

    $ fg
    su
    phoenix# umount /mnt
    phoenix# ls -l /
    total 51
    -rw-r--r--   2 root  wheel   797 Jun  5 01:57 .cshrc
    -rw-r--r--   2 root  wheel   251 Jun  5 01:57 .profile
    -r--r--r--   1 root  wheel  4735 Jun  5 01:57 COPYRIGHT
    drwxr-xr-x   2 root  wheel  1024 Sep 17 19:31 bin
    drwxr-xr-x   6 root  wheel   512 Sep 18 17:04 boot
    drwxr-xr-x   2 root  wheel   512 Jul  2 17:32 cdrom
    lrwxr-xr-x   1 root  wheel    10 Jul  2 17:49 compat -> usr/compat
    dr-xr-xr-x   4 root  wheel   512 Oct 21 12:09 dev
    drwxr-xr-x   2 root  wheel   512 Jul  2 17:32 dist
    -rw-------   1 root  wheel  4096 Sep 17 11:28 entropy
    drwxr-xr-x  16 root  wheel  2048 Oct 21 12:21 etc
    lrwxr-xr-x   1 root  wheel     9 Sep 17 12:10 home -> /usr/home
    drwxr-xr-x   2 root  wheel  1024 Sep 17 19:33 lib
    drwxr-xr-x   2 root  wheel   512 Sep 17 19:33 libexec
    lrwxr-xr-x   1 root  wheel    10 Sep 23 11:40 local -> /usr/local
    drwxr-xr-x   2 root  wheel   512 Jun  5 01:53 mnt
    dr-xr-xr-x   2 root  wheel   512 Jun  5 01:53 proc
    drwxr-xr-x   2 root  wheel  2560 Sep 17 19:33 rescue
    drwxr-xr-x   3 root  wheel   512 Sep 29 13:01 root
    drwxr-xr-x   2 root  wheel  2560 Sep 17 19:33 sbin
    drwxr-xr-x   4 root  wheel  1024 Jul  2 17:32 stand
    lrwxr-xr-x   1 root  wheel    11 Sep 17 19:30 sys -> usr/src/sys
    drwxrwxrwt   4 root  wheel   512 Oct 21 15:27 tmp
    drwxr-xr-x  18 root  wheel   512 Oct 16 11:48 usr
    drwxr-xr-x  20 root  wheel   512 Oct 16 11:53 var

Joe
-- 
Josef Karthauser (joe_at_tao.org.uk)	       http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker)     http://www.uk.FreeBSD.org/
Physics Particle Theory (student)   http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================

Received on Tue Oct 21 2003 - 06:23:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC