Actions
Bug #18904
openError about chdir when trying to copy a file that does not exist on the server
Pull Request:
Severity:
Trivial - no functional impact | cosmetic
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
error: Failed to chdir into '/var/rudder/cfengine-community/tmp/templates/file_from_remote_template/tmp'. (chdir: 'No such file or directory') error: Method 'file_from_remote_source_recursion' failed in some repairs error: Method 'file_from_remote_source' failed in some repairs
This happens if the file to be copied does not exist.
It is very likely a bug in cf-agent
which does not create the destination but still tries de chdir into it.
Actions