chown with directory code example
Example 1: ubuntu change directory owner
sudo chown -R $USER ~/.blabla
Example 2: change owner of all the files from a directory linux
chown -R username:group directory
sudo chown -R $USER ~/.blabla
chown -R username:group directory