This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan 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.