Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the project itself is located in my home-directory, netbeans and glassfish each installed to opt. when i start IDE and open java project i get following warning five times:

/opt/glassfish-3.0.1/glassfish/domains/domain1/config/wss-server-config-2.0.xml (Permission denied)

thanks guys

share|improve this question

What is the permission of the glassfish and netbeans folder in opt? You can verify that with:

ls -l /opt/

Depending on the result you might need to change the ownership of the folder to your username. You can do that with the following commands: (replace username with your username, and press tab to autocomplete versions of the software)

sudo chown username.users /opt/glassfish-<TAB>
sudo chown username.users /opt/netbeans-<TAB>
share|improve this answer

I tried renaming the folder nbproject in the project folder, which worked. Simple :-)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.