cannot delete .htacces file in public_html

myuli

Registered
Feb 16, 2012
1
0
51
cPanel Access Level
Website Owner
hi guys ,

help pls, cannot delete file htaccess in public_html folder

file permission is 644 and tried to change it to 777 but still can not deleted

i tried delete and successfull but it come back again to public folder .

what this caused ?

and i have subfolder "demo" in public_html but it can not be accessed and i got this prompt error messages

Forbidden

You don't have permission to access /demo/ on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


does this error caused by .htaccess file that live in publich_html folder ?


pls help me , i don,t know to solve this at all,

thanks
 

Infopro

Well-Known Member
May 20, 2003
17,090
518
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
Sounds like ownership of the file and directory have been changed. If you don't own it you can't remove it. If this is the case and you don't have root access, you'll need to speak with your Hosting Provider and ask them to change owner back to you, or remove the files in question for you.