The problem I’m having
I’m running “dbt deps --profiles-dir ” in a remote server where the dbt Project directory is a volume mount. I specified the packages-install-path
directive in the dbt_project.yml
, however when executing the command above the package-lock.yml
and package-lock.concurrent-update-lock
gets created and the process crashes with PermissionError: [Errno 1] Operation not permitted
as the volume is mounted read-only. Unfortunately I cannot change the volume mount settings.
I think it would be cleaner to use the package-install-path
for all artifacts, or have an additional option for dbt deps
command. For now I solved this copying the entire project from the read-only mount to an other writable directory.