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

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

全部回覆(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學習者快速成長!