.htaccess file modification denied

Helo team!
I am adding some functions in my .htaccess file (in free hosting). Unfortunately, my efforts are not successful due to file permission issues when I try to save changes.

@Chris_De_Pro said:
Helo team!
I am adding some functions in my .htaccess file (in free hosting). Unfortunately, my efforts are not successful due to file permission issues when I try to save changes.

Hi, can you screenshot the error please?

@Chris_De_Pro said:
Helo team!
I am adding some functions in my .htaccess file (in free hosting). Unfortunately, my efforts are not successful due to file permission issues when I try to save changes.

Please make sure you’re using the .htaccess file in your htdocs folder, as the one in the root directory cannot be edited.

Thank you @PlanetGamingGG & @Admin for your response.

As @Admin concluded on his comment, the problem happened because I was trying to edit/update the .htaccess file located in the Root Directory instead of the one from my htdocs folder.

Now everything is ok, thank you again.