LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   permission denied (https://www.linuxquestions.org/questions/programming-9/permission-denied-114842/)

noir-gel 11-11-2003 12:00 PM

permission denied
 
Hello!

I have a little program made with opengl and SDL that worked in my old computer...

now, I execute it and it returns a "permission denied error"
I tried executing it as a root, even in a root graphic environment...

I also tried to recompile it...

¡THANK YOU VERY MUCH!

.alvaro.castro.

Fascistchicken 11-11-2003 12:37 PM

that don't say a whole lot
if its a little program why not you list it?
or the relevent parts...

noir-gel 11-11-2003 12:49 PM

its a very small program that opens a window using sdl and draws 3 triangles with opengl. I made it. It worked before...

thanks!

.alvaro.castro.

Fascistchicken 11-11-2003 02:09 PM

but wheres the permission thats denied?
to be executed?
or within the program itself?

noir-gel 11-11-2003 03:14 PM

it just says:

"permission denied" and jumps to the next line. It just doesn't let you run it...

.alvaro.castro.

Fascistchicken 11-11-2003 04:05 PM

does it have execute permissions set?
even if your root it won't execute without the execute permission set

noir-gel 11-14-2003 03:57 AM

yes!

it has permissions of course! I'm intermediate linux user... :-)

it has all rghts and I executed it as root as user and in both graphic environments...
I even just reinstalled suse (because a guy destroyed the /etc directory...)


it works in other computers!


THANKS!

.alvaro.castro.

LOUDSilence 11-17-2003 04:36 AM

as Fascistchicken stated, you have not given a lot of information. Is your program accessing a file or library etc that has no permission to it?

noir-gel 11-17-2003 10:25 AM

libraries
 
it is accesing SDL and mesa...

anyway i've tried compiling another program with just the iostream library...

I think that the problem is in the compiler ¿?

.alvaro.castro.


All times are GMT -5. The time now is 03:47 PM.