take ownership directory linux code example
Example 1: take ownership directory linux
sudo chown -R $USER ~/.blabla
Example 2: ubuntu change directory owner
sudo chown -R $USER ~/.blabla
Example 3: change owner of all the files from a directory linux
chown -R username:group directory
Example 4: how to change owner of all files in a directory
# Using the '*' wildcard you can include all other files and dirs
# Only us as many wildcards as you have layers in you directory
sudo chown <username:username> <directory_name>/*/*