So I read through a bunch of posting about similar issues, but none of them seemed to fix this problem. I am running netbeans 7.3.1 on ubuntu 12.04.2 x64. I wrote some fortran code and saved it to an ext4 internal drive that I have. However, when I try and run the code through netbeans or even from the console, I tend to get a permission denied error. But, when I save and compile the code in my home directory, it seems to run just fine.
Now as a pre-empt to the common issues. the partition that is having the trouble is an ext4 partition, so it is not a FAT or NTFS partition where I cannot run executables from Ubuntu. Second, the drive is set for permission to run executables. I mount the drive through pysdm and the run binaries flag is enabled. I am not sure how to check the drive settings though.
I am including some samples of the console output when I compile the file and when the execution error comes up.
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make: Entering directory `/media/jaimini/workspace/netbeans/Hello_1' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/GNU-Linux-x86/hello_1 make: Entering directory `/media/jaimini/workspace/netbeans/Hello_1' make: `dist/Debug/GNU-Linux-x86/hello_1' is up to date. make: Leaving directory `/media/jaimini/workspace/netbeans/Hello_1' make: Leaving directory `/media/jaimini/workspace/netbeans/Hello_1'
Here is the run attempt:
/bin/sh: 1: exec: /media/jaimini/workspace/netbeans/Hello_1/dist/Debug/GNU-Linux-x86/hello_1: Permission denied RUN FINISHED; exit value 126; real time: 0ms; user: 0ms; system: 0ms
Any suggestions. This is really messing up my workflow. Thanks.