Hi Peter,

Here is some strangeness I have noticed to support your issue.

On 06/11/2009, at 9:45 AM, Peter Lees wrote:

> i'm seeing an odd problem & wondered whether others had encountered  
> it.
>
> when i try to write to a nevada NFS share from a mac os X (10.5)  
> client via the mac's GUI, i get a permissions error - the file is 0  
> bytes, date set to jan 1, 1970, and perms set to 000.  writing to  
> the share via the command line works fine, so it's not a "normal"  
> permissions problem.

I?ve seen something very similar - one user in particular cannot write  
to some filesystems where they can on other clients (Linux, Solaris).   
Looking at a tcpdump/wireshark analyses of the nfs traffic seems to  
reveal nothing untoward.

This is under Mac OS X 10.6 current patch level but has been seen at  
the very least since the 10.6 upgrade (around the time of migrating  
from Linux to OpenSolaris fileserver).

Here?s a test I just did logging in and becoming that user (su -  
ilister):

[ilister at hamilton ~]$ cd /mantara/dev
[ilister at hamilton dev]$ df -h .
Filesystem                          Size   Used  Avail Capacity   
Mounted on
nfs.bris.mantara.com:/mantara/dev  2.0Ti  128Gi  1.9Ti     7%    / 
mantara/dev
[ilister at hamilton dev]$ ls -lad
drwxrwsr-x  18 root  devel  20 Oct 20 23:49 .
[ilister at hamilton dev]$ id
uid=10006(ilister) gid=10006(ilister) groups=10006(ilister),204 
(_developer),100(_lpoperator),98(_lpadmin),80(admin),62(netaccounts),12 
(everyone),28888(vtunesag),10025(pubwww),10024(perftest),10022(sysadm), 
5007(devadmin),5006(vpn),5004(mantara),5003(www),5002(local),5001(devel)
[ilister at hamilton dev]$ groups
ilister _developer _lpoperator _lpadmin admin netaccounts everyone  
vtunesag pubwww perftest sysadm devadmin vpn mantara www local devel
[ilister at hamilton dev]$ stat .
436207671 3 drwxrwsr-x 18 root devel 4294967295 20 "Oct 29 15:10:07  
2009" "Oct 20 23:49:51 2009" "Nov  5 11:39:21 2009" "Nov  5 11:39:21  
2009" 1048576 1 0 .
[ilister at hamilton dev]$ touch foo
touch: foo: Permission denied
[ilister at hamilton dev]$ ls -lh foo
ls: foo: No such file or directory
[ilister at hamilton dev]$ uname -a
Darwin hamilton.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31  
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386

We are using NFSv3 on this client (as that is all that is available on  
Mac OS X 10.6) and the client is on the same LDAP server and getting  
credentials and other information via the same location as the file  
server.

cheers,
James

Reply via email to