Conversation
The install container runs as root, so all files created during installation are owned by root:root. Add a chown step in InstallationProcess.Run() immediately after the container finishes to set correct ownership, regardless of CheckPermissionsOnBoot. Fixes pelican-dev/panel#2098
📝 WalkthroughWalkthroughA post-installation file ownership normalization step is added to the installation flow. After executing the installation container, Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related issues
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)server/install.go (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
We ensure permissions on server start. This may be an issue with the filesystem code that is getting revamped by Dane and that we will likely adopt. https://github.com/pelican-dev/wings/blob/main/server/power.go#L208 |
The install container runs as root, so all files created during installation are owned by root:root. Add a chown step in InstallationProcess.Run() immediately after the container finishes to set correct ownership, regardless of CheckPermissionsOnBoot.
Fixes pelican-dev/panel#2098
Summary by CodeRabbit
Release Notes