desipenguin
2014-11-02 03:45 deepin
My questions/suggestion may not be directly related - but from the screenshot, it seems you are logged in as a root user. Any reason why you need to be root user ?
What is your working directory ?
Can you try following ?
login as "normal/non root" user
cd /tmp
create first.c under /tmp
gcc first.c
./a.out
One possible problem may be because you are in some mounted device, as a root user.
Try to avoid both these, you may have better luck
What is your working directory ?
Can you try following ?
login as "normal/non root" user
cd /tmp
create first.c under /tmp
gcc first.c
./a.out
One possible problem may be because you are in some mounted device, as a root user.
Try to avoid both these, you may have better luck
Reply Like 0 View the author
i created my first programm and compiled it using gcc.
when i try to execute the output file from media using ./a.out
i get permission denied.
i also tried using sudo command but still permission denied.
DeepinScreenshot20141101133149.png