Can't open file for writing - Linux

Table of Contents



Ubuntu

用vim /etc/profile

這個檔案權限是

-rwxr--r-- 1 root root 497 2008-04-23 01:49 /etc/profile

請問一下,為什麼在vim :w!

會有erroe msg : Can't open file for writing

自己是用install 時候的account login。

請問是什麼問題? thanks

--

All Comments

Dorothy avatarDorothy2008-05-28
sudo vim /etc/profile