Re: Re: hacked!!
| From: | Christoph Becker | Date: | Mon, 06 Oct 2014 20:07:25 +0000 |
| Subject: | Re: Re: hacked!! | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323943@lists.php.net to get a copy of this message | ||
Richard wrote:
> ------------ Original Message ------------
>> Date: Saturday, October 04, 2014 13:50:30 -0400
>> From: Jim Giner <jim.giner@albanyhandball.com>
>> To: php-general@lists.php.net
>> Subject: Re: [PHP] Re: hacked!!
>>
>> On 10/4/2014 1:35 PM, Christoph Becker wrote:
>>>
>>> As Richard has repeatedly said, this all depends on who owns the
>>> files/folders. See
>>>
>>> <http://en.wikipedia.org/wiki/File_system_permissions>.
>>>
>> And as I have repeatedly said - I do not know these things. It is
>> a hosted server and the admins there set this all up. I simply
>> use it - apparently a little weaker than it s/b.
>
> You should contract the server admins and find out the answers.
It is not strictly necessary to contact the hosting provider to get this
information. Besides using posix_getpwuid(posix_geteuid()) (which may
be available or not), the following technique should work everywhere:
* upload a dummy file via FTP and check the owner (the FTP client should
list this information)
* create a dummy file with PHP and check the owner
--
Christoph M. Becker