【发布时间】:2023-04-01 01:16:01
【问题描述】:
我运行以下代码从 windows git 存储库中提取文件。
git pull /Volumes/sucho/Desktop/git/setup
我连接Windows目录如下。
tell application "Finder"
mount volume "cifs://WINDOWS/c$/Users/sucho" as user name "USR" with password "PW"
end tell
它运行良好,但问题是从 windows 中提取的文件有 700 (rwx------)。如何将其设置为默认 644(rw-r--r--)?
【问题讨论】:
标签: windows git macos file-permissions