Layout changes revert back after click Save. Pls help

I have been trying to make changes to the Layouts in CRM Studio. But after clicking Save, the layout in Studio instantly reverts back to what it was before. Kindly suggest the way forward.

Please check the permissions of file in your instance if you are using linux
for Suitecrm 7

sudo chown -R www-data:www-data .
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload
sudo chmod 775 config_override.php 2>/dev/null

For suitecrm 8

find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user www-data -exec chown www-data:www-data {} \;
chmod +x bin/console

if the issue persists inspect the page and check if there is a 500 error
and check suitecrm logs

Are you doing save or save and deploy ?

@Isaac , check to your custom/module/metadata/ delete the defs file there and go to studio and modify it again click save. Note: refresh the page before you modify it.

Yes, I saved and Deploy.
Then I entered the data with Create, all the data fields are correct. After I save the data, when I go to View, layout didn’t apply.

How can I get into custom/module/metadata/ to delete the defs file.
I am using suitecrm through website log in with admin role.

@Isaac , ow, how about click restore default and build rebuild your SuiteCRM then modify it again?