Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2006-12-17, 08:53 AM   #1
MrMaryLou
i fucking told i type to fucking fast wtf
 
MrMaryLou's Avatar
 
Join Date: Mar 2003
Location: New York
Posts: 11,247
Send a message via ICQ to MrMaryLou
You have a pm
__________________
<a href="http://www.greenguysboard.com/onthebench/">Join Me For On The Bench
</a>
MrMaryLou is offline   Reply With Quote
Old 2006-12-17, 10:30 AM   #2
boneless
A woman is like beer. They look good, they smell good, and you'd step over your own mother just to get one!
 
Join Date: Sep 2003
Location: Rotterdam, Netherlands
Posts: 56
Send a message via ICQ to boneless
suexec cant run on 777 you need to run on 755, its a known issue with all scripts.
__________________
boneless is offline   Reply With Quote
Old 2006-12-17, 12:44 PM   #3
raymor
The only guys who wear Hawaiian shirts are gay guys and big fat party animals
 
Join Date: Jan 2004
Posts: 178
Send a message via ICQ to raymor
It's always nice to avoid having any directories chmod 777, but sometimes necesary.
On the other hand, there is never any reason at all to EVER use SuExec on a dedicated server.
Doing so only creates huge security problems. Whoever gave you that advice should
either be fired for complete incompetence or enrolled in a system administration class today.
The only thing SuExec can do that is good is to protect you against other
webmasters on a shared server. It does so at the cost of making you much more
vulnerable to outside attackers. What SuExec does is give any visitor to your site
complete permissions to change or delete any of your files or directories.
On a dedicated server it's exactly the same thing as chmod()ing everything 777.

Quote:
However I'm unable to change the permissions for these files and for certain directories - some of which need to be 777 - I get "access denied".
Probably because they are properly owned by use "nobody" rather than your user name.
Any permissions changes would ned to be done by root, but if they are already owned
by "nobody" it may not actually be those files that need to be chmod.
IT may be one of the directroies they are in. The directories containing them
should be chmod 755, or in rare cases 777. If a directory is 666 or 644 or something
you can't access files in it.
__________________
Ray Morris
support@bettercgi.com
Strongbox/Throttlebox & more
TXDPS #A14012
raymor is offline   Reply With Quote
Old 2006-12-17, 01:16 PM   #4
eman
Solipsists of the world unite
 
eman's Avatar
 
Join Date: Oct 2003
Location: xxx axis
Posts: 639
Quote:
Originally Posted by raymor View Post
It's always nice to avoid having any directories chmod 777, but sometimes necesary.
On the other hand, there is never any reason at all to EVER use SuExec on a dedicated server.
Thanks for your input, raymor.

I'm addressing this issue with my hosts now.

I'll let you know what they say
eman is offline   Reply With Quote
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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:42 PM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc