Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

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