[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] symlinks OK



mv /etc/passwd to /mnt/hda1/etc/passwd, then make a symlink from
/mnt/hda1/etc/passwd to /etc/passwd

'adduser'

The symlink is no longer there, and there is an 'old' copy of the passwd
file in /mnt/hda1/etc and a 'new' version on /etc/passwd (Which is really
/ramdisk/etc/)

This makes it hard to maintain accounts on Knoppix.


----- Original Message ----- 
From: "Baeckeroot alain" <al2.baeckeroot@laposte.net>
To: <debian-knoppix@linuxtag.org>
Sent: Saturday, August 23, 2003 3:52 AM
Subject: 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

_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: