Skip to content

Commit

Permalink
fix(buildah): do not use ignore_chown_errors option for overlay stora…
Browse files Browse the repository at this point in the history
…ge driver
  • Loading branch information
distorhead committed Dec 10, 2021
1 parent 07678a0 commit 299a33e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion pkg/buildah/docker_with_fuse.go
Expand Up @@ -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{
Expand Down
2 changes: 0 additions & 2 deletions pkg/buildah/native_linux.go
Expand Up @@ -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{
Expand Down

0 comments on commit 299a33e

Please sign in to comment.