[BUGFIX] Cleanup permission settings in factory configuration