On Tue, 2003-02-11 at 12:56, cristi wrote: > Acum 2 zile m-am apucat sa editez fisierul smb.conf cu vi. > In necunostinta de cauza nu am reusit sa-l salvez si am iesit fortat prin > rebootare. > Problema este ca acum nu mai pot sa-l sterg de pe disk. > 1)Sunt logat ca root. > 2)drepturile pe fisier sunt: > -rw-r--r-- 1 root root 11483 ian 31 12:59 smb.conf > 3)cand vreau sa sterg la mana am mesajul: > [root@srvtst samba]# rm /etc/samba/smb.conf > rm: remove write-protected file `/etc/samba/smb.conf'? y > rm: cannot unlink `/etc/samba/smb.conf': Operation not permitted > 4)Hardul este nou si am RH7.2 > > Ce poate fi de vina? > >
chattr -i /etc/samba/smb.conf rm /etc/samba/smb.conf > > -- Patrascu Eugeniu Any views or opinions presented within this e-mail are solely those of the author and do not necessarily represent those of any company, unless otherwise specifically stated. -- Pentru dezabonare, trimiteti mail la [EMAIL PROTECTED] cu subiectul 'unsubscribe rlug'. REGULI, arhive si alte informatii: http://www.lug.ro/mlist/
