Open kenton2000 opened 2 years ago
在执行这一步的时候 root@jd20220216:/opt/WSL/wsl_XWin_Cygwin# chmod 777 ./install.sh;./install.sh 报了以下的错,所以我不太确定如何解决这一权限问题 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/ucrtbase.dll': 权限不够 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/vcruntime140.dll': 权限不够 '\wsl$\Ubuntu-18.04\opt\WSL\wsl_XWin_Cygwin' 用作为当前目录的以上路径启动了 CMD.EXE。 UNC 路径不受支持。默认值设为 Windows 目录。 cygwin-setup.exe found! Skipping installer download... '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
*** INSTALLING DEFAULT PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 0 tasks, update: yes, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install
*** INSTALLING CUSTOM PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 4 tasks, update: no, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install
cygwin installation updated
在执行这一步的时候 root@jd20220216:/opt/WSL/wsl_XWin_Cygwin# chmod 777 ./install.sh;./install.sh 报了以下的错,所以我不太确定如何解决这一权限问题 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/ucrtbase.dll': 权限不够 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/vcruntime140.dll': 权限不够 '\wsl$\Ubuntu-18.04\opt\WSL\wsl_XWin_Cygwin' 用作为当前目录的以上路径启动了 CMD.EXE。 UNC 路径不受支持。默认值设为 Windows 目录。 cygwin-setup.exe found! Skipping installer download... '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。
*** INSTALLING DEFAULT PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 0 tasks, update: yes, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install
*** INSTALLING CUSTOM PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 4 tasks, update: no, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install
cygwin installation updated
- xorg-server,xwinclip,run,psmisc
cant create /mnt/c/WINDOWS/System32/ucrtbase.dll just shutdown your firewall
已经以root用户默认登录,终端也开了管理员权限,但是依然报了标题这样的错,请问应
请访问 https://github.com/nufeng1999/WSL_GNOME ,这是目前最新的版本
在执行这一步的时候 root@jd20220216:/opt/WSL/wsl_XWin_Cygwin# chmod 777 ./install.sh;./install.sh 报了以下的错,所以我不太确定如何解决这一权限问题 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/ucrtbase.dll': 权限不够 cp: 无法创建普通文件'/mnt/c/WINDOWS/System32/vcruntime140.dll': 权限不够 '\wsl$\Ubuntu-18.04\opt\WSL\wsl_XWin_Cygwin' 用作为当前目录的以上路径启动了 CMD.EXE。 UNC 路径不受支持。默认值设为 Windows 目录。 cygwin-setup.exe found! Skipping installer download... '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 '#SET' 不是内部或外部命令,也不是可运行的程序 或批处理文件。 INSTALLING DEFAULT PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 0 tasks, update: yes, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install INSTALLING CUSTOM PACKAGES Starting cygwin install, version 2.919 User has backup/restore rights User has symlink creation right Current Directory: C:\Users\PC\AppData\Local\Temp root: C:\cygwin64 system Selected local directory: C:\Users\PC\AppData\Local\Temp net: Preconfig Migrated http://mirrors.163.com/cygwin/ to https://mirrors.163.com/cygwin/ site: https://mirrors.163.com/cygwin/ solving: 4 tasks, update: no, use test packages: no solving: 0 tasks, update: no, use test packages: no Augmented Transaction List: is empty Changing gid back to original running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash" running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash" Changing gid to Administrators Ending cygwin install cygwin installation updated
- xorg-server,xwinclip,run,psmisc
cant create /mnt/c/WINDOWS/System32/ucrtbase.dll just shutdown your firewall
请访问 https://github.com/nufeng1999/WSL_GNOME ,这是目前最新的版本
当我在使用的时候,wsl 已经以root用户默认登录,终端也开了管理员权限,但是依然报了标题这样的错,请问应该如何调试呢?