|Oct 20, 2012, 10:23 AM||#1|
Permissions Denied problem
I started to learn C. When i compile some programs from K&R C programming language via gcc -c something.c -o something.app, it is ok. But when I'm trying to run it via open ./something app it shows me permission denied. Is there some solution to fix this?
P.S. Im noob in terminal so it may be my error.
P.S.S. Excuse me for my bad English
|Oct 20, 2012, 11:04 AM||#5|
The '-c' parameter only compiles the .c file into an object file. Not something you can execute. It's intended for .c files that don't contain a main() function. Does that file contain a main() function? If so, you shouldn't be using the '-c' parameter.
gcc something.c -o something.app
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Sharing & Permissions Problem||raulG||Mac Basics and Help||11||Oct 12, 2013 12:40 PM|
|Permissions Problem with Virtualbox||filmbuff||Windows, Linux & Others on the Mac||0||Jul 20, 2013 08:59 PM|
|SMB Folder Permissions - DENiED!||j0ester||Windows, Linux & Others on the Mac||0||Feb 11, 2013 11:57 AM|
|Time Machine Permissions Problem||evanavevan||OS X||5||Jan 6, 2013 05:24 AM|
|Resolved: Permissions / Ownership problem||Loa||OS X 10.8 Mountain Lion||2||Sep 7, 2012 06:20 PM|
All times are GMT -5. The time now is 10:18 PM.