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

remove root check and allow_root flag in all sub-programs #598

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

m-reuter
Copy link
Member

Currently we are doing checks for running as root in many places, requiring the --allow_root flag to be passed everywhere.
This flag however was not always passed through, e.g. see #597 causing recon-surf.sh to error and stop.

The two options to fix this are i) forward --allow_root everywhere or ii) avoid checking this in so many places and reduce it to the top level entry scripts (currently run_fastsurfer.sh ).

I took the second approach to simplify things and avoid future such bugs.

This needs to be tested when running as root and passing the --allow_rootflag. Maybe also test as non-root, just in case.

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

Successfully merging this pull request may close these issues.

1 participant