Handle permission denied when looking for home directory