This can occur for several reasons.
With our service, if a directory of a script was found to be sending out more than 150 emails per hour, the directory may be locked down. Email sending is limited to 150 per hour on our shared hosting plans.
Another reason which is similar is the file is chattr'd it will need to be unchattr'd to remove the file.
The directory the file is in has a permission setting that is not valid. If you have a directory chmod'd to 555 for example, files inside that directory will not be able to be removed via FTP or the file manager in your hosting control panel. Changing the directory permissions to 644 or above will correct this issue.
Corruption. If a file or file allocation table is corrupted this can also be an issue in deleting a file.
- 151 Users Found This Useful