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

--store-dir accepts non-absolute paths #6446

Open
phadej opened this issue Dec 18, 2019 · 1 comment
Open

--store-dir accepts non-absolute paths #6446

phadej opened this issue Dec 18, 2019 · 1 comment

Comments

@phadej
Copy link
Collaborator

phadej commented Dec 18, 2019

Is it delibarate?

I think it's very dangerous. User can always make $(pwd)/... if they need something local to the project.

I'm worried that if cabal changes the working directory, things may go very wrong.

@jneira
Copy link
Member

jneira commented Mar 9, 2022

Another issue about: #7812
Although that one is more about allowing relative paths for cabal install than limiting it in cabal build

User can always make $(pwd)/... if they need something local to the project.

users using a posix or powershell shell

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

No branches or pull requests

3 participants