Accidentally set file permissions to 000!

Username (e.g. epiz_XXX) or Website URL

https://dannotechnews.ga

Error

I was trying to restrict public access to a PHP script on my server, and I accidentally turned off owner read permissions! I can’t change them back from my ftp client, and my website can’t function without it!
It’s a really important file and I can’t find a local backup of it.
If someone at InfinityFree could manually reset the file permissions for me that would be very helpful.

Setting owner permissions also means Admin cannot set it back to normal permissions.

You’ve locked your account means you’ve to host your site on another site account.

3 Likes

It’s only just one file on my website.
So are you saying that even InfinityFree isn’t able to reset the permissions?
Surely, they could go above owner level and forcefully reset the perms.

1 Like

Linux system forbids that. Permissions are permissions, once scaled cant turned back. Examples: read-only USBs.

3 Likes

Next time, be careful.
You can still create new PHP file with the same code as in the locked file.

1 Like

Thank you very much.
I managed to find a copy of the original file on my PC, I am now backing up my website regularly.

1 Like

Glad to help! :smiley:

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.