Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Dec 2010 17:59:13 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Joe Auty <joe@netmusician.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Migrating from NFSv3 to v4 - NFSv4 ACL/permission confusion
Message-ID:  <2012614235.1261352.1291676353006.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <4CFD6693.7080100@netmusician.org>

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

> Okay,
> 
> Here is my dump command... The NFS host is 192.168.0.20:
> 
> # tcpdump -s 0 -w dumpfile.txt host 192.168.0.20
> tcpdump: listening on em0, link-type EN10MB (Ethernet), capture size
> 65535 bytes
> 
This won't put anything on the screen. It's dumping to dumpfile.txt
(which is not a text file, but it doesn't matter what you call it).
If you email me dumpfile.txt as an attachment, that was what I was
referring to.

> 
> In NFS mount:
> 
> # ls -l
> total 2
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 blah
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 test2
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 test3
> 
> # chown joe blah
> 
> (no response)
> 
> "joe" is indeed a local user on the NFS client side.
> 
> This is not generating any tcpdump output though.
> 
Do you mean that dumpfile.txt isn't growing while you do
this or just that there isn't anything being printed in
the window where tcpdump is running?

> # ls -l
> total 2
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 blah
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 test2
> -rw-r--r--  1 root  wheel  0 Dec  4 23:19 test3
> 
> No actual permission change
> 
You could try "chmod 600 blah" and see if that works? (It shouldn't
care about uid<->username mapping.)

> 
> I created these files as root, so that much is being recognized...
> 
Yep, which suggests that the uid<->username mapping is working.

rick


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2012614235.1261352.1291676353006.JavaMail.root>