Hi,
File permissions are handled by the server and not really under WordPress’ control and definitely not the theme. While WordPress (or plugins) can modify permissions, they need sufficient permissions on the files to begin with.
I suggest discussing this with your hosting provider as permission changes are either due to a configuration change or a sign for suspicion.