now i'm desparate. I feel like i'm turning round. when i believe solve something then i break something else.
started using this mac this week.In the process of setting up my environment i face some challenge.I got a maven project which uses cargo plugin to publish to tomcat working fine.for that i had to google to create the /etc/launchd.conf file.For some reasons web applications created in netbeans cannot publish to tomcat server i thought it was due to tomcat permission but when i set chmod 777 /Library/tomcat020 

> 
> sh-3.2# ls -l /Library/tomcat6020  
> 
>  total 136  
> 
>  -rw-r--r--@ 1 highjo admin 6148 Nov 4 16:03 .DS\_Store i have this for file  
> 
>  drwxr-xr-x@ 26 highjo admin 884 Nov 4 16:03 bin and this for folder 
> 
> 
> 

i was expecting to be rwxrwxrwx.that's the first problem.
second the first project in maven that was working is not any more.
showing 

> 
> org.apache.maven.surefire.booter.SurefireExecutionException: Unable to create file for report: /myproject/target/surefire-reports/com.myproject.dao.hibernate.someDAOImplTest.txt (Permission denied); nested exception is java.io.FileNotFoundException: /myproject/target/surefire-reports/com.myproject.dao.hibernate.someDAOImplTest.txt (Permission denied); nested exception is org.apache.maven.surefire.report.ReporterException: Unable to create file for report: /myproject/target/surefire-reports/com.myproject.dao.hibernate.someDAOImplTest.txt (Permission denied); nested exception is java.io.FileNotFoundException: /myproject/target/surefire-reports/com.myproject.dao.hibernate.someDAOImplTest.txt (Permission denied)
> 
> 
> 

same Exception and permission denied anytime i need to run a web app which is supposed to be published on tomcat.
Is Netbeans lacking privileges to access those files?I 'm running late to set up the developement environment.I need help! thanks for reading this