Axisweb / contexteditor

Automatically exported from code.google.com/p/contexteditor
0 stars 0 forks source link

Elevation-protected file saved and reloaded silently without actually modifying the file #52

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Take a file that needs elevation for modification, e.g. httpd.conf in 
apache. Open that file from a normal (non-elevated) total commander (having 
'context.exe' configured as an editor).
2. Modify its contents and save. No error is reported. If I close Context and 
reopen the file, my modified contents are there.
3. Now check the httpd.conf file contents with another program (total 
commander/F3 lister for example), the modifications are not there!

What is the expected output?
The expected behaviour would be to show an alert when saving the file obviously 
fails.

What do you see instead?
There's no error when saving the file, althought the actual file is not 
modified. The modified contents are magically stored somewhere, and reloaded 
when I open the file without elevation again. If I open to edit the file having 
elevation, everything's working correctly.

What version of the product are you using?
0.98.6

On what operating system?
Windows 7, 6.1.7601

Original issue reported on code.google.com by hhcofc...@gmail.com on 24 Aug 2012 at 10:37