Installswat fails because it writes to the source directory. I keep the sources on an NFS server and I own the source and run the make as myself, but carry out the install as root. We do not trust root between boxes, so root does not have permission to write to the sources. Should any temporary work be carried out in /tmp?
Are you building with $srcdir != $builddir? If this is the case then Samba shouldn't be writing to $srcdir when installing swat.
No I hadn't changed the default, so it built in the source tree. The only files which caused a problem were swat/help/welcome.html and its translations in Japanese and Turkish, which are written to a temporary file before installing. The rest of the install went smoothly.
no going to do anything here unless we get more volunteers or this becomes more of an issue. Sorry.