From 1201a4dc910dc05f1459bd1aa50508db2f3a9343 Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Wed, 6 Dec 2023 14:01:26 +0800 Subject: [PATCH] Update diy.sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 转换vdi之后,赋予可执行权限。方便虚拟机调用 --- shell/diy.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/diy.sh b/shell/diy.sh index d0b8c2f..efe1641 100644 --- a/shell/diy.sh +++ b/shell/diy.sh @@ -148,6 +148,7 @@ convert_vm_format() { # 检查命令是否成功执行 if [ $? -eq 0 ]; then + sudo chmod 755 $target_path Show 0 "转换成功。转换后的文件位于:$target_path" else Show 1 "转换失败,请检查输入的路径和文件。"