Shouldn't VirtualFile.refresh(false, false) cause all changes to the
file to be re-read from the filesystem? Is there any caching done here?
I'm calling Runtime.exec to chmod a file +w, then calling refresh, then
doing some VCS actions on it. However, about half the time, the refresh
appears to not work, and file.isWritable() remains false, even when I
step through in debugger and verify on command line that the file is
indeed +w when refresh() is called.
Has anyone else experienced this problem?