mac系统中.bash_profile只读或没有权限的解决方法
mac系统中.bash_profile只读或没有权限的解决方法
/usr/bin/sudo /bin/chmod u+rwx /Users/【账号名】/.bash_profile
/usr/bin/sudo /usr/sbin/chown 【账号名】 /Users/yourusername/.bash_profile
不管前方的路有多苦,只要走的方向正确,不管多么崎岖不平,都比站在原地更接近幸福
/usr/bin/sudo /bin/chmod u+rwx /Users/【账号名】/.bash_profile
/usr/bin/sudo /usr/sbin/chown 【账号名】 /Users/yourusername/.bash_profile