harbor icon indicating copy to clipboard operation
harbor copied to clipboard

fix issue #9728: check if script is being run by root

Open freebased opened this issue 2 years ago • 1 comments

freebased avatar Jul 19 '22 11:07 freebased

Hi @freebased,

This install process can be conducted by not only root user ($EUID eq 0), but also by the users who has root permissions, for example sudo ./install.sh.

So I think it's not appropriate enough to do this check. We will get permission denied errors if you don't have root permissions.

MinerYang avatar Jul 26 '22 01:07 MinerYang

This PR is being marked stale due to a period of inactivty. If this PR is still relevant, please comment or remove the stale label. Otherwise, this PR will close in 30 days.

github-actions[bot] avatar Sep 30 '22 09:09 github-actions[bot]