fix: chmod'ing the manifest is unnecessary (#24165)
parent
eac0ee0acc
commit
c854e53c2b
|
@ -1466,9 +1466,6 @@ func (m *Manifest) Write() (int64, error) {
|
|||
|
||||
tmp = f.Name()
|
||||
|
||||
if err = f.Chmod(0666); err != nil {
|
||||
return fmt.Errorf("failed setting permissions on manifest file %q: %w", tmp, err)
|
||||
}
|
||||
if _, err = f.Write(buf); err != nil {
|
||||
return fmt.Errorf("failed writing temporary manifest file %q: %w", tmp, err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue