No. File permissions should be set by a site administrator from the backend of your site. If the file permissions were wrong, then the plugin would not even be able to work correctly, thus it is not practical to even make a plugin for this function.