building under windows + file permissions



I haven't tried "make install" under windows for years--I thought I'd try again
using (fairly current) cgywin + ccl 1.7. I think "make" finished OK. After working 
for some time, make install gives

++ pwd
+ d=/cygdrive/c/maximagit/maxima/doc/info
+ cd /tmp/maxima-texinfo-categories-1XKXN8
+ for f in '*.texi'
$
+ sed 's/^@def\(fn\|vr\)  *{[^}]*}  *\([^[:blank:]]*\).*/@anchor{Item: \2}\
\0/; s/^@node  *\([^,]*\).*/@anchor{Item: \1}\
\0/' Affine.texi
sed: can't read Affine.texi: Permission denied
+ mv tmp.texi Affine.texi
mv: try to overwrite `Affine.texi', overriding mode 0000 (---------)? make[4]: *

Switching to tmp/maxima-texinfo-categories-1XKXN8, I discover:

Barton at Barton-PC /tmp/maxima-texinfo-categories-1XKXN8
$ ls affine.texi -l
---------- 1 Barton None 8018 Jan 15 13:49 affine.texi

Barton at Barton-PC /tmp/maxima-texinfo-categories-1XKXN8
$ cat affine.texi
cat: affine.texi: Permission denied

I tried something like chmod -R a+rw tmp. Didn't work.

--Barton