Merge pull request #742 from anderbubble/728-secure-wwinit-warewulf-config
Restrict access to /warewulf/config from overlays
This commit is contained in:
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- The correct header is now displayed when `-al` flags are specified to overlay
|
||||
list.
|
||||
- Restrict access to `/warewulf/config` to root only. (#728, #742)
|
||||
|
||||
### Changed
|
||||
|
||||
|
||||
2
Makefile
2
Makefile
@@ -188,7 +188,7 @@ files: all
|
||||
chmod 600 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/etc/ssh/ssh*
|
||||
chmod 600 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/etc/NetworkManager/system-connections/ww4-managed.ww
|
||||
chmod 644 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/etc/ssh/ssh*.pub.ww
|
||||
chmod 644 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/warewulf/config.ww
|
||||
chmod 600 $(DESTDIR)$(WWOVERLAYDIR)/wwinit/warewulf/config.ww
|
||||
chmod 750 $(DESTDIR)$(WWOVERLAYDIR)/host
|
||||
install -m 0755 wwctl $(DESTDIR)$(BINDIR)
|
||||
install -m 0755 wwapic $(DESTDIR)$(BINDIR)
|
||||
|
||||
Reference in New Issue
Block a user