Skip to content
Advertisement

Tag: google-cloud-pubsub

Google Cloud Pub/Sub C++ Client: Authentication Failure When Binary Has setuid (root) [CentOS7]

The application (bin) loads the (service account) credentials fine when it has “normal” permissions. This is the run script: However when bin permission are changed: I get this error: E1003 10:02:07.563899584 60263 credentials_generic.cc:35] Could not get HOME environment variable. E1003 10:02:10.563621247 60263 google_default_credentials.cc:461] Could not create google default credentials: UNKNOWN:creds_path unset {created_time:”2022-10-03T10:02:07.563943484+09:00″} Any advice would be appreciated. Thanks. Answer As

Advertisement