Mobile app version of vmapp.org
Login or Join
Hamaas447

: FTP file access problem I recently got a malware on my website. I have made the backup of the website on my computer and trying to wipe off my FTP. I am trying to delete the root folder

@Hamaas447

Posted in: #Ftp

I recently got a malware on my website. I have made the backup of the website on my computer and trying to wipe off my FTP. I am trying to delete the root folder but getting this error message on all of the malicious files,

Response: 550 Could not delete index.php: Permission denied


I am the sole administrator of the ftp so permission should not have been an issue. My host provider seems not to suffer from this problem as his websites are running well without any malware.

I have also tried to change the root to 777 to see if the file permission change could help me delete the files but still I am getting the same error. Please help out. Thanks

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Hamaas447

2 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

Have you tried changing the permissions of each files individually ? I mean, only those who trow that Permission denied message when you try to delete them. Also what do you mean exactly by "the root folder", the root of your hosting account if you are on a shared host or the "public_html" folder ? Maybe there is some sort of additional protections on those special files so I would suggest you to simply do a CTRL+A in this "root folder" and press delete.

10% popularity Vote Up Vote Down


 

@Si4351233

The FTP account either virtual or shell account doesn't have rw permissions to delete the root folder. You'll need to SSH in su to root and delete what you want

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme