

Other than its config directory that is saved in your user data (see Help->Debug Messages 4-5 down says where) Geany itself doesn't fiddle with files other than your explicit save and load, but some plugins do, hence the first question. I wonder whether the problem might be related to a temporary directory or backup directory. Let us know if the problem still occurs, the GTK dialogs are not something we build so I don't know what they do, but I know they run extra threads, so maybe they trawl the filesystem to pre-load the dialogs, and I think I remember somewhere reports of them holding locks on stuff.
GEANY PERMISSION DENIED WINDOWS
I have now changed the settings to use Windows dialogues, but honestly, I like the GTK ones better. Thats fine, we have to check the obvious first :)
GEANY PERMISSION DENIED INSTALL
Ok, if its a new install and you didn't enable any plugins in Tools->Plugin Manager then there should be none running, but maybe just check none are enabled in plugin manager. I have installed Geany today, and did not fiddle around with Plugins. Is Geany using some of them under the hood, maybe in my Windows Profile Data space? This is certainly an area which Geany should better keep its fingers off.

Yes, the other ones were disabled as well, but this didn't have any influence. (4) Does the problem occur if you have neither use_atomic_file_saving nor use_gio_unsafe_file_saving nor gio_unsafe_save_backup set? (3) Are you using windows native dialogs or GTK dialogs? And, I could save these files earlier in the same edit session. Plus, the error occured on 3 files out of 5. Of course, and, as I said, I for sure did not do anything with this file from a different program. (2) I presume you retried the save and the "permission denied" continued after you had checked that nobody had a handle on the file? If the pane which shows the map of my functions, is displayed by a plugin, then I would conclude that at least this plugin is running alongside. In any case, the settings have a checkmark in "use plugins". Of course, it might be that Geany, out of the box, uses some Plugins which need to be disabled. (1) The number one is, are you running any plugins? Is there anything I can do to help the Geany developers to nail down the cause of this strange problem? I don't see yet in what respect the two files which did not have the problem, differed significantly from the two files where the problem occured.Ĭlosing Geany, starting it, and I can continue editing like normal, but my feeling is that it will be only a question of time until the problem occurs again. One of the two where the error occured too, belonged to a different directory, while all the others - including those which could be saved - belonged to the same directory as the file where the problem occured initially. Modifying the buffer and saving, caused the same error with two of the files, while it worked fine with two others. I then checked with my remaining open files in Geany. Copying the file back (on the command line).Using "Save as" to save it to a completely different directory.I resolved the problem temporarily by using the following strategy: Needless to say that it is not a disk space problem either. This is weird: If the cause would be a directory lock, the rename should ALSO have failed. I could see that the file got renamed, but still had the old content. This was refused with the same error message. Then I tried "save as" with "rename", to store it under a new name in the same directory. Note that it is a local file, so there can't be network issues involved either. Finally I turned on the gio_unsafe_save_backup and tried again, but same result. I also used Geany's "File/Properties" to check, whether maybe the file secretly became readonly this is also not the case. Still, for the safe side, I run the Handle utility to see whether someone has a handle to either the file or the directory where the file is in - nothing. I know that Windows sometimes grabs a lock on a file when I'm just looking at it with another tool, but I am pretty sure that the only way I'm operating on this file since the last bootup of my machine, is by editing it in Geany. After happily editing a file over some time, suddenly Geany refuses to save it with this error message:
