plik readonly
: 09 lipca 2007, 19:45
Chce wyedytowac w celu zmienienia DNS'ów, ale nie mogę zmienić praw dostępu do tego pliku :evil:
Dostaje info przy próbie zapisu:
Pomożecie?
Kod: Zaznacz cały
vim /etc/resolv.conf
Dostaje info przy próbie zapisu:
Kod: Zaznacz cały
W10: Warning: Changing a readonly file
E325: ATTENTION
Found a swap file by the name "/etc/.resolv.conf.swp"
owned by: root dated: Thu Jul 5 20:50:44 2007
file name: /etc/resolv.conf
modified: YES
user name: root host name: debian
process ID: 2906
While opening file "/etc/resolv.conf"
dated: Thu Jul 5 20:47:57 2007
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r /etc/resolv.conf"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.resolv.conf.swp"
to avoid this message.
Press ENTER or type command to continue