修改/etc/profile时提示为只读文件,不允许修改, 敲#chmod 777 /etc/profile后仍不允许修改 解决办法: 在root权限下敲 #:mount -o remount,rw / 参考 修改etc/profile只读权限为读写_profile root只读-CSDN博客