mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
🐛 fix file perissions on the manifest JSON in backup archive (#2685)
Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
1
changelogs/unreleased/2685-ashish-amarnath
Normal file
1
changelogs/unreleased/2685-ashish-amarnath
Normal file
@@ -0,0 +1 @@
|
||||
update file permissions on JSON manifests in the backup archive
|
||||
@@ -264,7 +264,7 @@ func (ib *itemBackupper) backupItem(logger logrus.FieldLogger, obj runtime.Unstr
|
||||
Name: filePath,
|
||||
Size: int64(len(itemBytes)),
|
||||
Typeflag: tar.TypeReg,
|
||||
Mode: 0755,
|
||||
Mode: 0644,
|
||||
ModTime: time.Now(),
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user