LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 01: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, 01: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, 01: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, 03: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, 04: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, 05: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, 04: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, 05: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, 11: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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:50 AM
Permission Denied jamesvenning1 Linux - Newbie 4 06-05-2005 12:32 PM
Permission denied jagman026 Fedora 3 01-01-2005 04:45 PM
Permission Denied ptreves Linux - Newbie 7 12-16-2004 03:14 PM
Permission denied? jbhoo Linux From Scratch 1 04-27-2002 10:12 PM


All times are GMT -5. The time now is 05:52 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration