mirror of
https://github.com/containers/skopeo.git
synced 2025-09-25 20:29:24 +00:00
Update module github.com/containers/storage to v1.47.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/containers/storage/pkg/idtools/idtools_unix.go
generated
vendored
6
vendor/github.com/containers/storage/pkg/idtools/idtools_unix.go
generated
vendored
@@ -91,13 +91,13 @@ func CanAccess(path string, pair IDPair) bool {
|
||||
}
|
||||
|
||||
func accessible(isOwner, isGroup bool, perms os.FileMode) bool {
|
||||
if isOwner && (perms&0100 == 0100) {
|
||||
if isOwner && (perms&0o100 == 0o100) {
|
||||
return true
|
||||
}
|
||||
if isGroup && (perms&0010 == 0010) {
|
||||
if isGroup && (perms&0o010 == 0o010) {
|
||||
return true
|
||||
}
|
||||
if perms&0001 == 0001 {
|
||||
if perms&0o001 == 0o001 {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
|
1
vendor/github.com/containers/storage/pkg/idtools/usergroupadd_linux.go
generated
vendored
1
vendor/github.com/containers/storage/pkg/idtools/usergroupadd_linux.go
generated
vendored
@@ -89,7 +89,6 @@ func addUser(userName string) error {
|
||||
}
|
||||
|
||||
func createSubordinateRanges(name string) error {
|
||||
|
||||
// first, we should verify that ranges weren't automatically created
|
||||
// by the distro tooling
|
||||
ranges, err := readSubuid(name)
|
||||
|
4
vendor/github.com/containers/storage/pkg/idtools/utils_unix.go
generated
vendored
4
vendor/github.com/containers/storage/pkg/idtools/utils_unix.go
generated
vendored
@@ -19,8 +19,8 @@ func resolveBinary(binname string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
//only return no error if the final resolved binary basename
|
||||
//matches what was searched for
|
||||
// only return no error if the final resolved binary basename
|
||||
// matches what was searched for
|
||||
if filepath.Base(resolvedPath) == binname {
|
||||
return resolvedPath, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user