Question : Hacked index.php file does not retain permissions anymore

Hello, Something has happened to the index.php file of the content management system (drupal) installation on my shared server. It no longer retains permissions I grant it and instead permissions remain at 00 no matter how many times I change it. See screeenshot. I believe this account was hacked because host informed me that a bunch spam was sent from this account. When I browse to index.php, I get a FORBIDDEN 403 error. How is it that I can't change the permissions anymore to what it should be (644)?

This is running in LAMP environment.
Attachments:
 
screenshot of how permissions appear in filezilla.
screenshot of how permissions appear in filezilla.
 

Answer : Hacked index.php file does not retain permissions anymore

Someone has changed the ownership of the file so that it doesn't belong to you anymore.  You need one of the admins with 'root' privileges to change it back.
Random Solutions  
 
programming4us programming4us