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

enroot.conf executed unexpectedly when doing enroot --help #210

Open
astrophys opened this issue Oct 11, 2024 · 0 comments
Open

enroot.conf executed unexpectedly when doing enroot --help #210

astrophys opened this issue Oct 11, 2024 · 0 comments

Comments

@astrophys
Copy link

If I set my enroot.conf to be point to non-existent directories :

ENROOT_RUNTIME_PATH /home/user/Scratch/silly/runtime
ENROOT_CACHE_PATH /home/user/Scratch/silly/cache
ENROOT_DATA_PATH /home/user/Scratch/silly/data
.
.
.

And then I do a read-only operation with enroot, e.g.

enroot --help

The above RUNTIME, CACHE and DATA directories get created.

This is unexpected and surprising behavior since running --help on almost all Linux commands is a safe, read-only operation. In the case of enroot, it reads the enroot.conf and then proceeds to create directories, even for a read-only operation like enroot --help.

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