![尝试使用 rsync 从 Windows 10 上的旧 Ubuntu 安装 (WSL) 复制文件并覆盖更新的安装 - 权限错误](https://linux22.com/image/955487/%E5%B0%9D%E8%AF%95%E4%BD%BF%E7%94%A8%20rsync%20%E4%BB%8E%20Windows%2010%20%E4%B8%8A%E7%9A%84%E6%97%A7%20Ubuntu%20%E5%AE%89%E8%A3%85%20(WSL)%20%E5%A4%8D%E5%88%B6%E6%96%87%E4%BB%B6%E5%B9%B6%E8%A6%86%E7%9B%96%E6%9B%B4%E6%96%B0%E7%9A%84%E5%AE%89%E8%A3%85%20-%20%E6%9D%83%E9%99%90%E9%94%99%E8%AF%AF.png)
$ sudo rsync -av --chown=root:root --no-perms --rsync-path="sudo rsync" ~/ext4.vhdx "/mnt/c/Users/Patrick Johnston/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc/LocalState/rootfs/"
sending incremental file list
rsync: [Receiver] change_dir#1 "/mnt/c/Users/Patrick Johnston/AppData/Local/Packages/CanonicalGroupLimited.Ubuntu22.04LTS_79rhkp1fndgsc/LocalState/rootfs/" failed: Permission denied (13)
rsync error: errors selecting input/output files, dirs (code 3) at main.c(751) [Receiver=3.2.7]