How to change permission of folders and subfolders in Ubuntu

The simple command is 
sudo chown -R username foldername

Comments