我正在尝试创建一个python源包,但在为文件创建硬链接时失败。
$ python setup.py sdist
running sdist
running check
reading manifest template 'MANIFEST.in'
writing manifest file 'MANIFEST'
making hard links in foo-0.1...
hard linking README.txt -> foo-0.1
error: Operation not permitted
我尝试使用sudo运行该命令,但它产生了相同的错误。
这也会产生相同的错误:
ln foo bar
我使用vbox来运行ubuntu的一个虚拟实例,这可能就是问题的来源。在创建源码发行版时,有没有使用硬链接的方法?
系统信息:
Ubuntu服务器11.04;VirtualBox 4.14;osx 10.6.6;python 2.7.1;
https://stackoverflow.com/questions/7719380
复制相似问题