Revert "🐛 fix file perissions on the manifest JSON in backup archive (#2685)" (#2700)

dae5230aae

Signed-off-by: Ashish Amarnath <ashisham@vmware.com>
This commit is contained in:
Ashish Amarnath
2020-07-10 14:07:05 -07:00
committed by GitHub
parent a0d2fc2f0e
commit 3d3b9e312a
2 changed files with 1 additions and 2 deletions

View File

@@ -1 +0,0 @@
update file permissions on JSON manifests in the backup archive

View File

@@ -264,7 +264,7 @@ func (ib *itemBackupper) backupItem(logger logrus.FieldLogger, obj runtime.Unstr
Name: filePath, Name: filePath,
Size: int64(len(itemBytes)), Size: int64(len(itemBytes)),
Typeflag: tar.TypeReg, Typeflag: tar.TypeReg,
Mode: 0644, Mode: 0755,
ModTime: time.Now(), ModTime: time.Now(),
} }