每次打开新的终端窗口时都被拒绝

时间:2018-03-05 21:30:15

标签: bash

每次打开新的终端会话时,都会收到以下错误消息。不知道如何解决这个问题,我是否需要编辑.bash_profile。以下是错误和内容:

Last login: Mon Mar  5 13:10:22 on ttys000
-bash: /Users/myname/.bash_profile: Permission denied

bash文件的内容:

~/.bash_profile
alias flush='sudo killall -HUP mDNSResponder'
# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH

0 个答案:

没有答案