-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix postgres script permissions #21007
Fix postgres script permissions #21007
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #21007 +/- ##
==========================================
+ Coverage 45.36% 46.17% +0.80%
==========================================
Files 244 247 +3
Lines 13333 13863 +530
Branches 2719 2867 +148
==========================================
+ Hits 6049 6401 +352
- Misses 6983 7126 +143
- Partials 301 336 +35
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Hello Harbor Team, |
b1a3cb2
to
61b3161
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
The initdb.sh and the upgrade.sh scripts in the postgres image were not owned by the postgres user, which made them failing with permission denied errors. Signed-off-by: Mate Hajnal <[email protected]>
Head branch was pushed to by a user without write access
61b3161
to
2b659b8
Compare
Thank you @OrlinVasilev for the auto-merge. |
The initdb.sh and the upgrade.sh scripts in the postgres image were not owned by the postgres user, which made them failing with permission denied errors in some local builds.
Comprehensive Summary of your change
Adding the scripts to the appropriate user and fixing the permissions resolved the issue.
Issue being fixed
Fixes #21006
Please indicate you've done the following: