Page 1 of 1

Chmod and PHPsuexec

PostPosted: Wed Sep 13, 2006 1:15 pm
Author: Bush
So there are many files in the installation process of Intergramod 4.0 that require the setting of chmod 777 onto the file..

Here is the problem. My host wants to install PHPsuexec which will prevent the running of any chmod 777 files.

What are my or my hosts alternatives?

"To reduce the risk of hackers accessing all sites on the server from a compromised PHP web script, we will be recompiling Apache to support PHPsuexecon Saturday 16th 2006 at 12:00am EST."

^ from my host!

Re: Chmod and PHPsuexec

PostPosted: Wed Sep 13, 2006 3:16 pm
Author: computerz
"Bush";p="15394" wrote:So there are many files in the installation process of Intergramod 4.0 that require the setting of chmod 777 onto the file..

Here is the problem. My host wants to install PHPsuexec which will prevent the running of any chmod 777 files.

What are my or my hosts alternatives?

"To reduce the risk of hackers accessing all sites on the server from a compromised PHP web script, we will be recompiling Apache to support PHPsuexecon Saturday 16th 2006 at 12:00am EST."

^ from my host!


Seems like this is a widespread problem. I don't think phpsuexec will prevent you from using 777 directories, but your best alternative would be to get a dedicated server host so that you can configure your server however you wish.

Also install mod security so that your server won't be compromised.

PostPosted: Wed Sep 13, 2006 5:54 pm
Author: Bush
Its a VPS with root access, I have full control..

I already have mod_security installed with some STRICT filters!

Re: Chmod and PHPsuexec

PostPosted: Thu Sep 14, 2006 6:24 am
Author: a_lunatic
My host enabled this aswell & i got this in the email & noticed that the daily back up stopped working about the same day

If you have a script that is not executing, please ensure the permission on the file is set to CHMOD 755. Scripts or folders that are chmodded to 777 will no longer work due to security risks involved with 777 settings. Setting 755 is equivalentto 777 in the new environment.

PostPosted: Thu Sep 14, 2006 1:29 pm
Author: Bush
Hello? Moderators? Coders?

Please answer my questions!

Re: Chmod and PHPsuexec

PostPosted: Thu Sep 14, 2006 7:20 pm
Author: Drop-Forged
"a_lunatic";p="15442" wrote:My host enabled this aswell & i got this in the email & noticed that the daily back up stopped working about the same day

If you have a script that is not executing, please ensure the permission on the file is set to CHMOD 755. Scripts or folders that are chmodded to 777 will no longer work due to security risks involved with 777 settings. Setting 755 is equivalentto 777 in the new environment.


Have you tried changing all your CHMOD 777 folder to 755, Im no expert, but if it is the equivalent in that environment, then it should work.

Correct or No???

PostPosted: Thu Sep 14, 2006 7:40 pm
Author: Bush
We'll see if my Daily Backup fails. I set chmod 755 backup/

PostPosted: Thu Sep 21, 2006 4:39 am
Author: Michaelo
Change 777 to 755 as indicated above....
[url=http]This might be helpful...[/url]


Check with your service provider as to what change you need to make to your forum regarding directories and files access/chmod...

Mike

Re: Chmod and PHPsuexec

PostPosted: Thu Sep 21, 2006 8:53 pm
Author: a_lunatic
I got mine working now by chmod the backup directory to 777 <img> as the host had change all to 755