Problem overwriting file with NFS-1.1.3 and NFS-1.1.4
Keith Barr <[email protected]> Tue, 19 Aug 2003 14:24:10 -0600
| Newsgroups | gmane.lisp.open-source.franz |
|---|---|
| Message-ID | <[email protected]> |
All,
First off, sorry if this is a total repeat from this morning, but I never
saw my email post, and I never received any comments, so I am trying again
(my office just installed a new spam killer and I think they have some bugs).
Anyway, I have a VxWorks box connected to a Win2K box via NFS-1.1.4 (was
using 1.1.3 before today), and it connects just fine and reads and writes
new files without trouble. The problem is I have a number of files that
need to be overwritten (i.e. written to the same file name), and for some
reason the write is failing (and it used to work with both SFU and Frontier
NFS). I looked at the file permissions on the Win2K box and it looks like
everyone has full access. Here are the contents of my config file:
(
(*nfslocaluid* 2001)
(*nfslocalgid* 100)
(*nfs-rw-uids* nil)
(*nfsdebug* 1)
(*nfslocalumask* #o000)
(*exports* (("/CLIPR" "c:/clipr")
("/DATA" "e:/data")))
(*hosts-allow* nil)
(*hosts-deny* nil)
)
Since I turned on debugging, I grabbed some of that data as well...it is at
the end of the email. The VxWorks box always comes in with a user ID of
2001 and a group ID of 100, so in the output below, I am curious about the
UID of 4294967295, which also seems to show up in other parameters as well.
Does anyone have any thougths on this?
Thanks in advance,
Keith Barr
Here is where the file is originally created (the file is about 36 kb):
[deleted]
nfsd-lookup "spheader.txt" in #p"c:\\clipr\\proj\\FAA-2"
filesize after write: 6382
file position after write: 6382
nfsd-lookup "proj" in #p"c:\\clipr"
filesize after write: 6425
file position after write: 6425
nfsd-lookup "FAA-2" in #p"c:\\clipr\\proj"
nfsd-create( c:\clipr\proj\FAA-2\spheader.txt with attributes #S(sattr
:mode
33791
:uid
4294967295
:gid
4294967295
:size
4294967295
:atime
(4294967295
4294967295)
:mtime
(4294967295
4294967295))
filesize after write: 8192
file position after write: 8192
filesize after write: 16384
file position after write: 16384
filesize after write: 24576
file position after write: 24576
filesize after write: 32768
file position after write: 32768
filesize after write: 35784
file position after write: 35784
filesize after write: 35784
file position after write: 35784
[deleted]
Here is when I try to overwrite it:
nfsd-lookup "spheader.txt" in #p"c:\\clipr\\proj\\FAA-2"
filesize after write: 7092
file position after write: 7092
nfsd-lookup "proj" in #p"c:\\clipr"
filesize after write: 7135
file position after write: 7135
nfsd-lookup "FAA-2" in #p"c:\\clipr\\proj"
nfsd-create( c:\clipr\proj\FAA-2\spheader.txt with attributes #S(sattr
:mode
33791
:uid
4294967295
:gid
4294967295
:size
4294967295
:atime
(4294967295
4294967295)
:mtime
(4294967295
4294967295))