Added local filesystem permission checks for self-update

Checks for proper permissions at local FS before start connection/download.