LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-17-2005, 09:35 PM   #1
bm322
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 192.168.0.1 posts to 192.168.0.2 and reads response]

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

I am assuming this is an issue with the security enhancements. Does anyone know where to start?
 
Old 07-17-2005, 10:58 PM   #2
randyding
Member
 
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, 09:41 AM   #3
bm322
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

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