This article is solely written to try to solve problem arises regarding on some step done in Netbeans GUI Editor. It is when an already created application project is going to be opened but there is an error triggered showing that the source of the application project itself is not writable. So, this article is written to give an alternative on how to solve error generated as sources folder not writable in Netbeans GUI Editor. Below is the image or the picture which is presented based on the error described before :
The error actually relates on the permission of the source folder as shown in the error message in the above image or picture. So, in order to solve the problem, search the permission first :
root@hostname:/var/www/html# ls -al | grep research drwxr--r-- 12 www-data user 4096 Jul 6 06:28 research root@hostname:/var/www/html#
The problem relies on the permission of the folder. As it can be seen in the output above, the folder’s group is owned to a user named ‘user’. This user is the one executing Netbeans GUI Editor. Since the ‘user’ itself only has a read permission on the folder, the error source folder is not writable’ normally will be shown as an error message. So, in order to be able to solve the matter, just change the permission of the folder and below is actually one of the right solution which can be taken to solve the problem. Just type the following command to change the permission of the above folder used in Netbeans GUI Editor as the main folder for the application project :
root@hostname:/var/www/html# chmod -Rv 775 research/ ... mode of 'research/public/.htaccess' changed from 0744 (rwxr--r--) to 0775 (rwxrwxr-x) mode of 'research/.gitattributes' changed from 0744 (rwxr--r--) to 0775 (rwxrwxr-x) mode of 'research/composer.json' changed from 0744 (rwxr--r--) to 0775 (rwxrwxr-x) You have new mail in /var/mail/root
After changing the permission of the folder, try to look at the new permission of the folder mentioned above :
root@hostname:/var/www/html# ls -al | grep research drwxrwxr-x 12 www-data user 4096 Jul 6 06:28 research root@hostname:/var/www/html#
By changing the permission into the right one, the user which is set as the group of the folder can access the source folder via Netbeans GUI Editor.