Ubuntu:/etc/rc.local 可執行權限問題

VmWare 11.1.2this

安裝Ubuntu 12.04系列版本, /etc/rc.local 有可執行權限。ip

安裝Ubuntu 14.04系列版本,發現 /etc/rc.local 沒有可執行權限,致使寫入其中命令沒法執行。it

 

VmWare 11.0.0 io

安裝Ubuntu 12.04和14.04系列版本,/etc/rc.local 都有可執行權限權限

 

VirtualBoxdi

安裝Ubuntu 12.04和14.04系列版本,/etc/rc.local 都有可執行權限sudo

 

/etc/rc.local 中說明:script

In order to enable or diable this script just change the excution bits.版本

執行這個命令便可: sudo chmod +x /etc/rc.localab

相關文章
相關標籤/搜索