Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions server/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@ func (ip *InstallationProcess) Run() error {
return err
}

// Ensure correct file ownership after installation since the install
// container runs as root, leaving all files owned by root:root.
if err := ip.Server.Filesystem().Chown("/"); err != nil {
ip.Server.Log().WithField("error", err).Warn("failed to chown server root directory after installation")
}

// If this step fails, log a warning but don't exit out of the process. This is completely
// internal to the daemon's functionality, and does not affect the status of the server itself.
if err := ip.AfterExecute(cID); err != nil {
Expand Down
Loading