Skip to content
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

Allow ./setup --build as non-root #232

Open
TheHinsh opened this issue Dec 1, 2021 · 0 comments
Open

Allow ./setup --build as non-root #232

TheHinsh opened this issue Dec 1, 2021 · 0 comments

Comments

@TheHinsh
Copy link

TheHinsh commented Dec 1, 2021

For cross compiling, it would be helpful to be able to run ./setup --build as a non-root user.

Right now, there is this code:

# Make sure only root can run our script
if [ "$(id -u)" != "0" ]; then
 echo "This script must be run as root" >&2
 exit 1
fi

that ensures that the aws-kinesis-agent install/uninstall are not performed by a non-root user. However, it really doesn't apply to the --build option

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant