This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
i've been trying on c code on ubuntu using gcc , the program compiles , but when i run it using ./a.out or ./myfile it always ends up with the error permission denied .
i don't know how to get rid of it i've tried remounting the parttion in executable form but it didn't helped either , im using ubuntu 10.10 .
Never had that problem. Tryand see whether the files have execution permission (x). Try . . . but whenever I have used gcc, the output files have automatically had execute permission.
If that fails, try again in a directory you have "ownership" of.
You're doing this on a location mounted through the "media" mount point. There's an excellent chance your usual account doesn't have permissions to do that. Generally, ubuntu is very strict about mount points. Try sudo and see if that works. Maybe tweak your permissions.