# Pastebin d39eugoc mborzecki: return fmt.Errorf("cannot determine user %v home snap dir", os.Getuid()) # at that time getuid may return not what you expect (perhaps, I didn't check)