Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-07-2005, 08:15 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 4

Rep: Reputation: 0
Permission Denied when running a program?

I'm trying to run some programs mainly ./build-ca for OpenVPN but i get this error: bash: ./build-ca: Permission denied

Any reason why this would occur? I'm logged on as root and this isn't the only program that generates thie error.

I'm also a complete linux newbie.

Old 09-07-2005, 08:18 AM   #2
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Maybe there aren't executable permissions on the programs you're trying to run? What does "ls -l filename" show you (replace filename, obviously..)?

You might want to try "chmod a+x filename" and then try running the file again.

Last edited by Nylex; 09-07-2005 at 09:06 AM.


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 04:50 AM
Permission denied on client when running install script residing on NFS server dstotz Linux - Newbie 2 12-11-2004 02:10 PM
Eclipse SDK v3.0 running problem: "Permission denied" AlexDunnCpp Linux - Newbie 1 08-03-2004 11:45 AM
Permission Denied NathanCohen2003 Mandriva 5 08-27-2003 05:39 PM
bad interpreter: Permission denied when compile any program docesam Linux - Software 4 06-05-2003 11:05 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 PM.

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