Skip to content

Commit 5818bd8

Browse files
committed
Merge branch 'nik-instance-id-file-no-x' into 'master'
instance_id file: do not set "x" flag See merge request postgres-ai/database-lab!545
2 parents 0787d92 + 557b1e3 commit 5818bd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/pkg/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func LoadInstanceID() (string, error) {
7575
instanceID = xid.New().String()
7676
log.Dbg("no instance_id file was found, generate new instance ID", instanceID)
7777

78-
if err := os.MkdirAll(path.Dir(idFilepath), 0755); err != nil {
78+
if err := os.MkdirAll(path.Dir(idFilepath), 0644); err != nil {
7979
return "", fmt.Errorf("failed to make directory meta: %w", err)
8080
}
8181

0 commit comments

Comments
 (0)