Skip to content
Permalink
Browse files
fix(buildah): do not use ignore_chown_errors option for overlay stora…
…ge driver
  • Loading branch information
distorhead committed Dec 10, 2021
1 parent 07678a0 commit 299a33e858d2ddfff3a458ea425af8db79e69c95
Showing with 0 additions and 3 deletions.
  1. +0 −1 pkg/buildah/docker_with_fuse.go
  2. +0 −2 pkg/buildah/native_linux.go
@@ -281,7 +281,6 @@ func newBuildahCliStoreOptions(driver StorageDriver) (*StoreOptions, error) {
return nil, fmt.Errorf("unable to get overlay options: %s", err)
}
graphDriverOptions = append(graphDriverOptions, fuseOpts...)
graphDriverOptions = append(graphDriverOptions, fmt.Sprintf("%s.ignore_chown_errors=true", StorageDriverOverlay))
}

return &StoreOptions{
@@ -375,8 +375,6 @@ func NewNativeStoreOptions(rootlessUID int, driver StorageDriver) (*thirdparty.S

graphDriverOptions = append(graphDriverOptions, fuseOpts...)
}

graphDriverOptions = append(graphDriverOptions, fmt.Sprintf("%s.ignore_chown_errors=true", StorageDriverOverlay))
}

return &thirdparty.StoreOptions{

0 comments on commit 299a33e

Please sign in to comment.