Netbeans IDE 8.1 Can not lock read-only file


Hello, I just happened to work with someone else's project in netbeans with jsp. But when I try to edit the code, I see a little review below that tells me that the document can only be read.


Can not lock read-only file

I would like to know if anyone has any idea how to unlock it. The whole project, all its files tell me the same, and therefore I can not move forward. I'd appreciate your help. Beforehand thank you very much.

asked by E.Rawrdríguez.Ophanim 11.10.2017 в 20:24

1 answer


First, ensure that where the project is located you have permissions to be able to change the Read-only property of the files, otherwise you have to check with the administrator.

If you have permission to make this change, you can do it manually by removing the Read-only property from the file (s)

Another option is to use a plugin to do it from the IDE, you can search the official Netbeans site for example:




For example, for the first plugin that I usually use, download it and go to:

Tools > Plugins > Downloaded , select and install it.

when installing the plugin you can change the ownership of the file by clicking on the padlock shown in the lower right corner:

answered by 11.10.2017 / 21:09