change directory owner code example Example: change owner directory linux sudo chown -R username:group directory