LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2003, 12:00 PM   #1
noir-gel
Member
 
Registered: Dec 2002
Posts: 51

Rep: Reputation: 15
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.
 
Old 11-11-2003, 12:37 PM   #2
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
that don't say a whole lot
if its a little program why not you list it?
or the relevent parts...
 
Old 11-11-2003, 12:49 PM   #3
noir-gel
Member
 
Registered: Dec 2002
Posts: 51

Original Poster
Rep: Reputation: 15
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.
 
Old 11-11-2003, 02:09 PM   #4
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
but wheres the permission thats denied?
to be executed?
or within the program itself?
 
Old 11-11-2003, 03:14 PM   #5
noir-gel
Member
 
Registered: Dec 2002
Posts: 51

Original Poster
Rep: Reputation: 15
it just says:

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

.alvaro.castro.
 
Old 11-11-2003, 04:05 PM   #6
Fascistchicken
Member
 
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
does it have execute permissions set?
even if your root it won't execute without the execute permission set
 
Old 11-14-2003, 03:57 AM   #7
noir-gel
Member
 
Registered: Dec 2002
Posts: 51

Original Poster
Rep: Reputation: 15
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.
 
Old 11-17-2003, 04:36 AM   #8
LOUDSilence
Member
 
Registered: Oct 2003
Location: Sydney
Distribution: Red Hat 8
Posts: 77

Rep: Reputation: 15
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?
 
Old 11-17-2003, 10:25 AM   #9
noir-gel
Member
 
Registered: Dec 2002
Posts: 51

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 04:50 AM
Permission Denied jamesvenning1 Linux - Newbie 4 06-05-2005 11:32 AM
Permission denied jagman026 Fedora 3 01-01-2005 03:45 PM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 02:14 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 09:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration