24-Mar-2020, 01:56 PM
Hi rol,
Sorry for the delay. That's a good question. I've seen a few servers like yours where you can't modify files owned by the web server. I think most servers get around this by adding the FTP user to the web server group. I appreciate you may not have the option to do that though. I can look into changing the next version of Commentics so that when someone installs an extension (or uses the one-click upgrade feature) it will change the ownership of the files to that of the FTP user. It could either determine who the FTP user is automatically by looking at who the owner is of one of the existing files, or there could be a setting for it. Also perhaps a setting for whether it should change the ownership at all, since technically it's correct already. In the meantime I think this is something you'd have to do using SSH. Which host are you with? I know that on Cloudways there's a setting to quickly reset the ownership of all files. To uninstall a language pack, first make sure that it's no longer selected in Settings -> Language. Then delete all its files (you can check which files it uploaded by opening the zip file you used to install it).
Sorry for the delay. That's a good question. I've seen a few servers like yours where you can't modify files owned by the web server. I think most servers get around this by adding the FTP user to the web server group. I appreciate you may not have the option to do that though. I can look into changing the next version of Commentics so that when someone installs an extension (or uses the one-click upgrade feature) it will change the ownership of the files to that of the FTP user. It could either determine who the FTP user is automatically by looking at who the owner is of one of the existing files, or there could be a setting for it. Also perhaps a setting for whether it should change the ownership at all, since technically it's correct already. In the meantime I think this is something you'd have to do using SSH. Which host are you with? I know that on Cloudways there's a setting to quickly reset the ownership of all files. To uninstall a language pack, first make sure that it's no longer selected in Settings -> Language. Then delete all its files (you can check which files it uploaded by opening the zip file you used to install it).