出现文件为只读,通过chmod解决不了,例如如下情况:
#chmod +x /etc/init.d/lte.sh
chmod: /etc/init.d/lte.sh: Read-only file system
解决办法: mount -o remount rw / /* (这一步是关键的一步,让“/”根文件系统重新挂载并有可读写模式)*/
出现文件为只读,通过chmod解决不了,例如如下情况:
#chmod +x /etc/init.d/lte.sh
chmod: /etc/init.d/lte.sh: Read-only file system
解决办法: mount -o remount rw / /* (这一步是关键的一步,让“/”根文件系统重新挂载并有可读写模式)*/