chown

Wikis > Linux > chown

sudo chown -R username foldername

The -R command applies this recursively to all of the folders below the one you are changing.