Skip to content

Commit

Permalink
FIX --ignore-symlinks
Browse files Browse the repository at this point in the history
Previously, `qvm-copy --ignore-symlinks` could result in `qubes-fs-tree-check: Refusing to copy unsafe symbolic link`
  • Loading branch information
zaz authored Jan 16, 2025
1 parent 70729aa commit 8fb8e26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qubes-rpc/qvm-copy
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ fi
SOURCE="${@%/}"

if FILECOPY_TOTAL_BYTES=$("$scriptdir/qubes/qubes-fs-tree-check" \
${ignore_symlinks+--ignore-symlinks} \
--allow-symlinks --allow-directories --machine -- "${SOURCE}"); then
service=qubes.Filecopy
else
Expand Down

0 comments on commit 8fb8e26

Please sign in to comment.