linux change owner of directory from root to user code example Example: ubuntu change directory owner sudo chown -R $USER ~/.blabla