답변:
/etc/profile 읽기 전용입니다.
쓰기 가능하게 만들 수 있습니다
$ sudo chmod +w /etc/profile
또는 더 나은 아직 vi, 읽기 전용 파일을Esc-wq!
Esc-wq!좋은 팁입니다. 감사!
실행 ls -l에 대한 것은 /etc/profile조차 소유자가 쓰기 권한이 있는지 알 수 :
$ ls -la /etc/profile
-r--r--r-- 1 root wheel 189 May 4 2009 /etc/profile
소유자가 다음과 같이 편집하도록 할 수 있습니다.
sudo chmod u+w /etc/profile
그런 다음로 편집 할 수 있어야합니다 root.
ls -l /etc/profile말은?-r--r--r--?