Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 10 and Netbeans: no write permissions

I've installed Netbeans 8.2. on my clean Windows 10 install. Now I want to set up a new project, but when I select my source folder I get the message 'Sources folder is not writable'.

Then I decided to just change my HTML code, but when I save I've got the message 'Cannot get exclusive access to: D:\Websites... (probably opened for reading)'.

I tried to open Netbeans as administrator, but nothing seems to work. Anybody who had the same problem and could solve it?

Thanks!

like image 479
Sam Avatar asked Feb 05 '23 19:02

Sam


2 Answers

If the cause is same as me, check your Antivirus settings, and whitelist Netbeans.

I've experienced the same an hour ago, after checking the writing permissions and creating a new project all together, nothing worked. Then I remembered I have an antivirus (Bitdefender) with Ransomware protection for my documents folder, I went to the log (of Bitdefender) and yeah, it was blocked as suspicious software, just added it to the trusted list and it works fine now.

like image 68
Osama Islam Avatar answered Feb 19 '23 14:02

Osama Islam


You might try running Netbeans as an administrator.

like image 25
CAtoOH Avatar answered Feb 19 '23 15:02

CAtoOH