will it break the system files?

Chris Snook csnook at redhat.com
Mon Jan 5 21:24:00 UTC 2009


cjzjm100 wrote:
> Hi,all,i seted the encoding of vim in order to display chinese
> well.Because when i opened source files programed by myslfe,the chinese
> can't display well.My locale is zh_CN.UTF-8,here is the contents of .vimrc:
> let &termencoding=&encoding
> set fileencodings=utf-8,gbk,ucs-bom,cp936
> After this ,will it break the system files when i edit the system files
> by vim?
> 

I have no idea, though I suspect the answer is no.  Regardless, this is a
classic example of why it's good to have separate root and non-root users.  Root
should never need to be editing program source.

-- Chris




More information about the fedora-list mailing list