Otrzymałem w spadku bramę po poprzednim Administratorze, bez dokumentacji. Potrzebuję edytować plik z firewallem (znalazłem podobny wątek na http://debian.linux.pl/threads/2804-pli ... +ATTENTION zakończony propozycją edycji pliku w innym edytorze np. nano ale u Mnie to nie pomaga), plik miał atrybut zabezpieczenie przed edycją, który już zdjąłem, edycję robię na koncie roota, właścicielem pliku jest użytkownik (nazwa poprzedniego administratora) przy próbie zmiany właściciela otrzymuję:
Kod: Zaznacz cały
chown root.root /etc/firewall.sh
chown: zmiana właściciela `/etc/firewall.sh': Operation not permittedKod: Zaznacz cały
E325: ATTENTION
Found a swap file by the name "/etc/.firewall.sh.swp"
owned by: root dated: Mon Mar 7 09:01:11 2011
file name: /etc/firewall.sh
modified: YES
user name: root host name: brama.sgsp.edu.pl
process ID: 9716
While opening file "/etc/firewall.sh"
dated: Fri Jan 14 10:35:37 2011
(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/firewall.sh"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file "/etc/.firewall.sh.swp"
to avoid this message.
"/etc/firewall.sh" 404 lines, 18180 characters
Press ENTER or type command to continue