While executing the bin/build-storefront.sh build command in production template the owner of the bundle in public folder changed to the system user from www-data
so when we deactivate the plugin it will show
chmod() operation not permitted error message
So what we will do to keep the folder owner www-data while executing the bin/build-storefront.sh command?
„run it with sudo -u www-data ./bin/build-storefront.sh or use facls to set the proper user/group and so on or switch to the www-data user (su www-data) depending on your setup some of these things might work or not “ - reply from slack group