Re: Re: hacked!!
| From: | Christoph Becker | Date: | Sat, 04 Oct 2014 17:35:06 +0000 |
| Subject: | Re: Re: hacked!! | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323938@lists.php.net to get a copy of this message | ||
Omega -1911 wrote:
> On Sat, Oct 4, 2014 at 1:04 PM, Jim Giner <jim.giner@albanyhandball.com>
> wrote:
>
>> 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.
As Richard has repeatedly said, this all depends on who owns the
files/folders. See <http://en.wikipedia.org/wiki/File_system_permissions>.
--
Christoph M. Becker