[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
install.c: please set unlink_dest_before_opening=false
From: |
Robert Millan [ackstorm] |
Subject: |
install.c: please set unlink_dest_before_opening=false |
Date: |
Tue, 20 Feb 2007 12:43:14 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Hi,
install --help says it will just "copy SOURCE to DEST", so one would
expect to behave like cp and not break hard links.
However, because unlink_dest_before_opening is set to true, this will
break links. Unless you notice about this, it's quite a problem when
you do something like:
install -s ./fubar /big_template_for_building_chroots/usr/bin/fubar
and find that /big_template_for_building_chroots/usr/bin/fubar no
longer has a gazillon of links to all your chroots :-)
I haven't checked POSIX though, but if this is actualy a requirement
maybe a POSIX_ME_HARDER hack would make sense here?
Thanks
--
Robert Millan
ACK STORM, S.L. - http://www.ackstorm.es/
install.diff
Description: Text Data
- install.c: please set unlink_dest_before_opening=false,
Robert Millan [ackstorm] <=
- Re: install.c: please set unlink_dest_before_opening=false, Paul Eggert, 2007/02/20
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/22
- Re: install.c: please set unlink_dest_before_opening=false, Paul Eggert, 2007/02/21
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/22
- Re: install.c: please set unlink_dest_before_opening=false, Paul Eggert, 2007/02/22
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/23
- Re: install.c: please set unlink_dest_before_opening=false, Andreas Schwab, 2007/02/23
- Re: install.c: please set unlink_dest_before_opening=false, Robert Millan [ackstorm], 2007/02/23
Re: install.c: please set unlink_dest_before_opening=false, James Youngman, 2007/02/25