Re: [debian-knoppix] symlinks OK
Le Vendredi 22 Août 2003 22:58, Klaus Knopper a écrit :
> On Fri, Aug 22, 2003 at 10:36:12PM +0200, Baeckeroot alain wrote:
> > Hello Knoppix world
> >
> > First I want to thanks KK for the really nice job of knoppix3.2
> >
> > I have installed the latest knoppix-v3.2-2003-07-26 (whith kernel 2.4.21-xfs)
> > and I thinks i have a huge bug or misconfiguration:
> >
> > my symlinks are replaced by the file when I use "vi" (or gvim):
> >
>
> Actually, this behaviour of vim is correct. Otherwise, it would not be
> possible to overwrite files in /etc that are symlinks to files on the
> CD-Rom. Check /etc/vim/vimrc for an option that says "set nobackup". If
> you comment this out, vim will not unlink the file prior to overwriting,
> and you will have to manually delete files in /etc prior to :wq!, if
> they are symlinks to files on CD.
>
> Regards
> -Klaus Knopper
> --
> Klaus Knopper Technical Solutions & Finances
> knopper@linuxtag.org http://www.linuxtag.org/
> Phone +49-(0)631-3109371 Fax +49-(0)631-3109372
> LinuxTag 2003 - Europes largest Linux Expo Where .com meets .org
> _______________________________________________
> debian-knoppix mailing list
> debian-knoppix@linuxtag.org
> http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
>
OK everything is allright for me now :)
I didn't though it could be a feature, but now I understand.
I commented the line where everything is explained. (sorry)
"set backupcopy=no " KNOPPIX: Overwrite files/links with w!
Thanks again
Alain
_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix
Reply to: