Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/pr/548'
* origin/pr/548: FIX qvm-copy for multiple sources refactor FIX --ignore-symlinks strip trailing slash from source directory Pull request description: Previously, `qvm-copy` had a couple of issues with symlinks: 1. A trailing slash on the source could cause errors: ```` $ qvm-copy-to-vm untrusted dir/ qubes-fs-tree-check: Refusing to copy unsafe symbolic link "dir//my-symlink" ```` but `qvm-copy-to-vm untrusted dir` worked fine. 2. `qvm-copy --ignore-symlinks` could still throw `qubes-fs-tree-check: Refusing to copy unsafe symbolic link` . If we are ignoring symlinks, `qubes-fs-tree-check` should not check for them. ## Notes Running `qubes-fs-tree-check --ignore-symlinks --allow-symlinks` does not seem to cause an issue.
- Loading branch information