Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 07-17-2005, 10:35 PM   #1
LQ Newbie
Registered: Jul 2005
Posts: 2

Rep: Reputation: 0
Can't connect... permission denied

I have inherited a web site, and am upgrading from Redhat 7 to Fedora. I am having problems with a HTTP::Request. I have narrowed it down to the following.

I create a small test script which posts to another site and gets the resutling html. This works from a shell prompt. [host posts to and reads response]

When I execute the same script through the browser, I get the error
500 Can't connect to (Permission denied)

I am assuming this is an issue with the security enhancements. Does anyone know where to start?
Old 07-17-2005, 11:58 PM   #2
Registered: May 2004
Posts: 552

Rep: Reputation: 31
If client dot 1 is suppose to be connecting to server dot 2 then possibly the browser is connecting to the wrong computer, your error message says permission is denied on the dot 1 computer which should not even be the server ??? Maybe more clarification is needed.
Old 07-18-2005, 10:41 AM   #3
LQ Newbie
Registered: Jul 2005
Posts: 2

Original Poster
Rep: Reputation: 0
Sorry, I had it backwards. I 0.2 is posting to 0.1 and getting the persmission denied from the 0.1 post.

Running from a shell, I have no problems, get the expected HTML. The last time I had a similar problem (writing to a file, permission denied from the httpd process) it was a security issue resolved with chcon.


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 to connect by root suguname Linux - Networking 1 03-05-2005 01:37 AM
Permission Denied Deag^ Linux - Newbie 2 10-20-2004 03:14 PM
ls/cp ... : permission denied Roadrunner Linux - Newbie 5 09-09-2003 07:00 AM
Permission Denied lackof Linux - Networking 1 08-14-2002 11:46 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 05:16 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