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

buildlocal undesirably cleans the installation directory #3

Open
suvarchal opened this issue Nov 11, 2021 · 0 comments
Open

buildlocal undesirably cleans the installation directory #3

suvarchal opened this issue Nov 11, 2021 · 0 comments

Comments

@suvarchal
Copy link

Level

CRITICAL

Component

RUNTIME / PYTHON BINDING / C BINDING / MONITOR / TRACING / TESTS / INFRASTRUCTURE

Environment

Building compss from source, environment any

Description

./buildlocal $INSTALL_DIR cleans the install dir which i think is dangerous especially when used as root.
I wanted to install compps into in conda environment assuming compps installation will produce some /lib /bin and optionally /include files but it cleaned up all contents in the directory instead of appending. This can be dangerous when used as root and a user points to something like /usr/local.

Minimal example to reproduce

to reproduce see how contents of directory are replaced

export $INSTALL_DIR=.
./buildlocal $INSTALL_DIR

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