I am running some GNU
make makefiles via Cygwin, and one of the targets tries to rename a directory:
clear_dirs: @echo "Creating clean local test directories..." @if [ -d $(TESTDIR_IN) ]; then mv -f $(TESTDIR_IN) $(TESTDIR_IN)_OLD; fi
This works fine (!) unless I have Windows Explorer open and viewing
$(TESTDIR_IN). In that case I get "Permission denied" error, and the
How do I prevent Windows Explorer from causing such problems? I don't remember it doing this before.
Strange thing is: even after navigating to a completely different directory, but in the same Windows Explorer instance, doesn't help - the only thing that helps is closing Windows Explorer.