我想用python从gitlab上拉取文件,但是一直报"Permission denied"?
天蓬老师
天蓬老师 2017-04-18 09:58:46
0
2
264
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

全部回复(2)
黄舟

添加当前路径试试
repo_path = './Cocoa Touch Class.xctemplate'

Peter_Zhu

这里的“Permission denied”报错是因为建立本地目录'/Cocoa Touch Class.xctemplate'无权限

'/Cocoa Touch Class.xctemplate' 是绝对路径,最前面的'/'代表系统根目录

你的用户应该是没有权限在系统根目录建立'Cocoa Touch Class.xctemplate'目录的

下面的repo_path变量换个有权限的目录就可以了,例如:

repo_path = 'Cocoa Touch Class.xctemplate'
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责声明 Sitemap
PHP中文网:公益在线PHP培训,帮助PHP学习者快速成长!