Re: Re: hacked!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Omega -1911 wrote:

> On Sat, Oct 4, 2014 at 1:04 PM, Jim Giner <jim.giner@xxxxxxxxxxxxxxxxxx>
> 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


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php





[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux