Prevent access to home folder

From WickyWiki

Prevent access to homefolder to other users (default 0755)

Example userx:

sudo chmod -R 750 /home/userx
sudo chmod -R 750 /home/userx/*

Note that Ubuntu offers the option of encrypting the home folder: