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
remote: local: support relative paths #1421
Comments
Great, I would take a caution about going ../ from the root dir (i.e. outside project), might be a security issue. Although I heard that it might be hard to really determine if you're "outside" (symlinks and whatnot). |
@dlazerka DVC doesn't have any additional privileges, so it can't do much harm :) Unless I'm missing something. |
@dlazerka thank you for your feedback! A relative path should not base on #1284 is not a relevant explanation for this case since |
@dmpetrov Turns out |
E.g.
dvc remote add mylocal ../../mydir
. Note that same as withcache.dir
, path should be resolved relative to config file location, which is.dvc
.The text was updated successfully, but these errors were encountered: