Add check-user-home-perms function (see comments)