Checks and fixes permissions of home folder and config file to be editable and writable only to the owner when using macosx or linux.