Ubuntu 16.04.4在Windows 7 VM上运行。我正在尝试将init初始化为共享文件夹。该共享文件夹与Windows VM共享,并且该共享的文件系统不支持符号链接。我遇到以下错误OSError:[Errno 95]不支持该操作。
buildbrain@ubuntu:/mnt/hgfs/dvs/git/clean$ repo init -u ssh://git-
master:29418/testing -b master -m manifest.xml
Get git://git-mirror-builders:9418/testing
Traceback (most recent call last):
File "/mnt/hgfs/dvs/git/clean/.repo/repo/main.py", line 531, in <module>
_Main(sys.argv[1:])
File "/mnt/hgfs/dvs/git/clean/.repo/repo/main.py", line 507, in _Main
result = repo._Run(argv) or 0
File "/mnt/hgfs/dvs/git/clean/.repo/repo/main.py", line 180, in _Run
result = cmd.Execute(copts, cargs)
File "/mnt/hgfs/dvs/git/clean/.repo/repo/subcmds/init.py", line 399, in
Execute
self._SyncManifest(opt)
File "/mnt/hgfs/dvs/git/clean/.repo/repo/subcmds/init.py", line 171, in
_SyncManifest
m._InitGitDir(mirror_git=mirrored_manifest_git)
File "/mnt/hgfs/dvs/git/clean/.repo/repo/project.py", line 2292, in
_InitGitDir
self._UpdateHooks()
File "/mnt/hgfs/dvs/git/clean/.repo/repo/project.py", line 2312, in
_UpdateHooks
self._InitHooks()
File "/mnt/hgfs/dvs/git/clean/.repo/repo/project.py", line 2341, in
_InitHooks
os.symlink(os.path.relpath(stock_hook, os.path.dirname(dst)), dst)
OSError: [Errno 95] Operation not supported
我尝试了一些网络解决方案,但仍然无法解决此问题。任何人都可以在这个问题上帮助我。
您可以查看一些有用的链接-https://github.com/mlsecproject/combine/issues/173