2014-04-12 37 views
0

我正在嘗試安裝Apportable,並且我正在嘗試將該應用程序sdk bin目錄添加到路徑中。像示例應用程序指令視頻所示,我複製並粘貼:「(echo; echo'PATH =」/ Users/testuser/.apportable/SDK/bin:$ PATH「')>>〜/ .bash_profile; source〜/ .bash_profile「到終端,但我不斷收到此錯誤消息:」-bash:「/Users/testuser/.bash_profile:權限被拒絕」安裝難度;無法添加應用程序sdk bin目錄到路徑

我不知道如何繼續,或者我做錯了什麼。你可以提供的任何意見,將不勝感激。

感謝

回答

0

很奇怪,你沒有寫權限在你自己的.bash_profile。

這裏的東西到t RY -

保存原始的.bash_profile

cp /Users/testuser/.bash_profile /Users/testuser/.bash_profile-save 

變化的權限

chmod +w .bash_profile 

更新的路徑

(echo; echo 'PATH="/Users/testuser/.apportable/SDK/bin:$PATH"') >> ~/.bash_profile; source ~/.bash_profile