Skip to content

Changed KNoT CLI commands to prevent lack of permissions in the Docker container#52

Open
k-cabral wants to merge 3 commits intoCESARBR:masterfrom
k-cabral:qf01
Open

Changed KNoT CLI commands to prevent lack of permissions in the Docker container#52
k-cabral wants to merge 3 commits intoCESARBR:masterfrom
k-cabral:qf01

Conversation

@k-cabral
Copy link
Copy Markdown

When host OS's user ID isn't the same as the container's user ID, the user inside the container can't write to the working directory, which in turn fail the KNoT CLI's make, export and build commands, described in both the Quickstart and KNoT Thing sections of the documentation.

This can be fixed by prepending the commands with the sudo -E, so they run as SU and the env vars are preserved, which are required for the KNoT CLI script.

https://github.com/kbcvcbk/knot-documentation

@netoax
Copy link
Copy Markdown
Contributor

netoax commented Jul 30, 2020

@kbcvcbk is this PR up-to-date?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants