Modifying settings.php

It’s your website. We know nothing about it, so is the settings.php you are talking. And no, there aren’t permission issues unless you are trying to write that outside of htdocs.

And if you are using the online file manager, good luck. Use desktop FTP instead.