Unable to edit and save a file on remote machine using Notepad++ [closed]

I am using Notepad++ 5.3.1. I want to edit and save files on a remote machine (both are running on Windows XP). I have granted the access privileges and security permissions in the folder containing the files.

When I try to save any of these files after editing in Notepad++, I get the following error.

 'Please check whether if this file is opened in another program'

There are no other places where the file has been opened but I still get this error. I was able to edit and save earlier but this error seems to be coming only since yesterday.


Solution 1:

I have fixed the issue now. The problem was that though the permissions have been set properly on the root folder the subsequent child folders were not inheriting the access privileges. Therefore when I suddenly edited a file in one of the child folders this error cropped up. I went to the advanced tab under security settings of the root folder propeties and checked the option

 Replace permission entries on all child objects with entries shown here that apply to child objects

Thanks one and all

Solution 2:

Opening the editor (Notepad++) on administrator mode could have helped too!

Solution 3:

gsk is correct! It's permissions!

Properties > Security > Edit > Users -> Allow (checked on everything) and then "OK" and "OK" so it saves all the settings.

Solution 4:

Actually, it's a much simpler answer.

If you opened the file in a Windows Explorer window, and you have the preview pane enabled, it locks the file. If you deselect the file in the window, it will make the preview go away, and the file will be unlocked again.

I did a post of this file locking problem on my blog, if you want more info and a screenshot.