Commit 864ba01
committed
driver/shelldriver: dereference symlinks when copying .ssh
cp -a implicitly preserves symlinks during copying. If the
authorized_keys file is a symlink, the /tmp/labgrid-ssh/authorized_keys
will still point to the ro target of the symlink and adding the key will
fail.
Add -L to cp to dereference the symlinks.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>1 parent 1070d36 commit 864ba01
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
0 commit comments