I have seen something strange behavior related to NFS version 2.

NFS server is Solaris 2.6.
NFS client is 5-CURRENT, cvsuped today.

Using NFS version 2, I can create file but cannot append(?) to file.

[version2]

# mount_nfs -2 SERVER:/export/home/SOMEWHERE /mnt
 ...
$ echo > /mnt/aho
$ ls -l /mnt/aho
-rw-rw-r--  1 SOMEONE  SOMEGROUP  1 Oct  3 18:43 /mnt/aho
$ echo >> /mnt/aho
cannot create /mnt/aho: Permission denied



[version3]

# umount /mnt
# mount_nfs -3 SERVER:/export/home/SOMEWHERE /mnt
 ...
$ echo > /mnt/aho
$ ls -l /mnt/aho
-rw-rw-r--  1 SOMEONE  SOMEGROUP  1 Oct  3 18:44 /mnt/aho
$ echo "hello" >> /mnt/aho
$ ls -l /mnt/aho
-rw-rw-r--  1 SOMEONE  SOMEGROUP  7 Oct  3 18:44 /mnt/aho

-- 
---
TOMITA Yoshinori


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to