受权帐户对指定文件夹的访问权限:code
sudo -i #进入root模式(须要输入密码) chown -R username /usr/local/lib #受权username对/usr/local/lib的操做权限 su - username #切换回username用户