The problem was permissions. After opening some config files, I was unable to save the changes.
My solution was adding the user, to the Root Group
sudo usermod -a -G root someUser
And then grant permissions to the specific folder or files in it.
sudo chmod g+w /some/folder/*
After these steps, all the users in the “root” group will have the writing permits (RW- , RWX)