Re: Re: hacked!!
| From: | Jim Giner | Date: | Sat, 04 Oct 2014 17:49:10 +0000 |
| Subject: | Re: Re: hacked!! | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323939@lists.php.net to get a copy of this message | ||
On 10/4/2014 1:28 PM, Richard wrote:
------------ Original Message ------------Date: Saturday, October 04, 2014 13:23:07 -0400 From: Omega -1911 <1911que@gmail.com> To: webmaster@jimginer.net Cc: php-general@lists.php.net Subject: Re: [PHP] Re: hacked!! On Sat, Oct 4, 2014 at 1:04 PM, Jim Giner <jim.giner@albanyhandball.com> wrote:I have modified the permissions.My files all seem to have a 644 for permissions. My public_html (root) folder show attribute of (using Filezilla) owner - r/w/e group - r/w/e public - r/w/e with a numeric value field showing 'xxx' My sub-folders of that seem to be different and I don't know why that is: owner - r/w/e group - r/e public - r/e with a numeric value of 755. The public_html settings are apparently(?) disabled since the screen shows them in a shaded color. So - are all of these correct?No. Your public_html folders should not be set r/w/e (777). They should be like the following: owner = 7 .. read, write, execute group = 5 .. read, execute public = 5 .. read, execute *NOTE - Even the public_html folder should be set at 755.
Also, what "user" owns these directories/files? What "user" does the web server that serves them run as? [if they are the same the permissions almost (not totally) moot.]- RichardI do not have the answers to your questions