Skip to content

Fix permission denied for docker#2210

Merged
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main
Nov 18, 2025
Merged

Fix permission denied for docker#2210
cb-github-robot merged 1 commit intocloud-barista:mainfrom
seokho-son:main

Conversation

@seokho-son
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings November 18, 2025 02:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses Docker permission issues during the mc-admin-cli setup process. When Docker group membership is not yet active (common in first-time setup), the script switches from using su to run installAll.sh as the target user to running it with sudo as root.

Key Changes:

  • Updated user-facing messages to clarify that sudo will be used when Docker requires elevated permissions
  • Changed execution strategy from su - "$TARGET_USER" to sudo when Docker group membership is not active
  • Added comments explaining the rationale for using sudo

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Seokho Son <shsongist@gmail.com>
@seokho-son
Copy link
Copy Markdown
Member Author

/approve

@github-actions github-actions bot added the approved This PR is approved and will be merged soon. label Nov 18, 2025
@cb-github-robot cb-github-robot merged commit 878fdba into cloud-barista:main Nov 18, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved This PR is approved and will be merged soon. script

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants