Skip to content

Chown

chown

Change the owner and/or group of each FILE to OWNER and/or GROUP.

Change user owner

chown <username> <path>

Change the group also

chown <username>:<group> <path>

Change the owner recursively

chown -hR <username> <path>