Details
-
Type:
Bug
-
Status: Open
-
Priority:
(None)
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Backlog:yes
-
Days in progress:0
Description
mender-artifact cp tries to imitate the cp command. Thus, as a user, I expect that mender-artifact cp my-file:/dir/ should work by copying the local file into /dir/my-file.
Instead, it just silently fails to copy it and returns success:
$ cat lluis-file.txt hola $ ./mender-artifact cp lluis-file.txt cool-artifact.mender:/etc/ $ echo $? 0 $ ./mender-artifact cat cool-artifact.mender:/etc/lluis-file.txt failed to copy from: cool-artifact.mender:/etc/lluis-file.txt to stdout: err: extFile: ReadError: debugfsCopyFile failed: file /etc/lluis-file.txt not found in image $ ./mender-artifact cp lluis-file.txt cool-artifact.mender:/etc/lluis-file.txt $ ./mender-artifact cat cool-artifact.mender:/etc/lluis-file.txt hola