Labels

Linux (28) Python (13) Raspberry Pi (5) Bugs (3) Install (3) C (2) Brainf**k (1) HTML (1) Maths (1) Sorts (1)

Monday, 31 August 2015

How to chown a directory recursively.

Chown is used to change the user and group ownership of a file.
General use of it tends to be
chown user:group file
But if the directory has multiple directories inside of that it can take time doing it by hand.
We use the -R option which stands for recursive which does every thing inside of the directory.
chown -R user:group directory