[W2K] File cannot be saved if there is a read only *.bak
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
It is not possible to save the changes of a file, if there exists a *.bak file that is read only (for example: a file test.txt is writeable and a file called test.bak is readonly).
The problem is, that the "Save"-Button does nothing and there is no message box which says why I cannot save the file. It took me a lot of time to find out, why I cannot save the file.
I think it is ok, that Winmerge does not overwrite the *.bak file, because it is read only. But Winmerge should open a message box with a error/information message.
Logged In: YES
user_id=631874
Originator: NO
Thanks for the report, I'll look at this later today.
Logged In: YES
user_id=631874
Originator: NO
Seems to work for me in latest 2.6.8 release and in latest 2.7.x version? With which version you did see this bug?
Were the paths possibly network paths?
Logged In: YES
user_id=1191290
Originator: YES
Hi kimmov,
I use Version "2.6.8.0 - Deutsch Unicode" on Windows 2000 on a local machine (no network paths).
Maybe we do some slightly different things to reproduce this. I can reproduce it with the following MS-DOS script:
REM Generate testdir and Files:
mkdir test
cd test
echo "Some text" > file1.txt
echo "Some other text" > file2.txt
copy file2.txt file2.txt.bak
attrib +r file2.txt.bak
REM Start Winmerge with the 2 generated files
C:\Programme\WinMerge\WinMerge.exe file1.txt file2.txt
Now I edit file2.txt in Winmerge (add a line of text or something) and save the file. Nothing happens then.
Logged In: YES
user_id=631874
Originator: NO
Thanks a lot for the script. Unfortunately this doesn't show the problem in my XP SP2 computer :(
This could be something W2K specific too. Maybe I should install W2K to virtual machine and test some day..
Logged In: YES
user_id=631874
Originator: NO
Altering summary to have [W2K] in it.