Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

notepad++

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.

like image 760
gsk Avatar asked May 04 '10 05:05

gsk


People also ask

Why can't I edit a file in Notepad++?

Unable to edit file in Notepad++If a file in the file-system is marked as read-only, it can be made editable by clearing the read-only flag, This can be done by selecting Edit → Clear Read-Only Flag. If you want to save a file as Read-Only then go to Menu → Edit → Set Read-Only (Check) and save the file.

How do I open a remote file in Notepad++?

Connecting to Notepad++ via FTPOpen Notepad++ and navigate to Plugins -> Plugins Admin… Once a dialog box has popped up, tick the NppFTP box that is under the Available tab. Press Install and the application will restart. Head over to Plugins -> NppFTP -> Show NppFTP Window.


2 Answers

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

like image 185
gsk Avatar answered Oct 22 '22 12:10

gsk


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

like image 30
nadh Avatar answered Oct 22 '22 12:10

nadh