Merge pull request #531 from anderbubble/chown-default-gid

Don't change unspecified gid to 0 during chown
This commit is contained in:
Christian Goll
2022-09-13 07:31:22 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -38,6 +38,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
to be changed accordingly
- host overlays can globaly disbaled, but are enabled per default
- `wwctl overlay build -H` will only build the overlays which are assigned to the nodes
### Fixes
- GID is no longer changed to `0` when unspecified during chown
## [4.1.0] - 2021-07-29

View File

@@ -34,7 +34,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
os.Exit(1)
}
} else {
gid = 0
gid = -1
}
overlaySourceDir = overlay.OverlaySourceDir(overlayName)