【发布时间】:2012-07-26 09:15:18
【问题描述】:
我正在使用 MacOSX Snow Leopard 10.6.8....我是这台机器上唯一的用户,我应该是管理员。
我试图编辑我的 bash_profile 给它一个简单的别名:
alias server=' open http://localhost:8000 && python -m SimpleHTTPServer'
但是,当我使用终端并输入:vim ~/. bash_profile 并粘贴此别名时,我收到消息说由于权限而无法保存。
然后我显示所有隐藏文件并修复此文件的权限,但该文件全部变灰......我无法更改任何内容。我能做什么??
【问题讨论】:
标签: macos permissions osx-snow-leopard alias .bash-profile