This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch 4.19 in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push: new f50de8981af cloudstack-setup-databases: fix mode and group of key file (#10466) f50de8981af is described below commit f50de8981afd157ceb8f9b1bfa2248c5d1c339d1 Author: Wei Zhou <weiz...@apache.org> AuthorDate: Fri Feb 28 06:14:31 2025 +0100 cloudstack-setup-databases: fix mode and group of key file (#10466) --- setup/bindir/cloud-setup-databases.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/bindir/cloud-setup-databases.in b/setup/bindir/cloud-setup-databases.in index 41b54b07e60..317acd22216 100755 --- a/setup/bindir/cloud-setup-databases.in +++ b/setup/bindir/cloud-setup-databases.in @@ -402,6 +402,8 @@ for example: except IOError as e: msg = "Failed to save management server secret key file %s due to %s, also please check the default umask"%(self.encryptionKeyFile, e.strerror) self.errorAndExit(msg) + os.chmod(self.encryptionKeyFile, 0o640) + shutil.chown(self.encryptionKeyFile, user=None, group="cloud") def formatEncryptResult(value): return 'ENC(%s)'%value