This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
Re: wget postinstall and setup
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin-apps at cygwin dot com
- Date: Thu, 27 Jan 2005 13:51:39 -0500
- Subject: Re: wget postinstall and setup
- References: <41F93365.ED6FF9A@phumblet.no-ip.org>
- Reply-to: cygwin-apps at cygwin dot com
On Thu, Jan 27, 2005 at 01:31:01PM -0500, Pierre A. Humblet wrote:
>The wget postinstall is doing a cp. As discussed earlier, a cp does
>not preserve the ACL and any cp done in a postinstall script must be
>accompanied by a "touch" to create the new file before copying unto it
>(see e.g. as in man.sh), or a "chmod" to set reasonable permissions
>after the copying (e.g. as in openldap.sh). If that's not done, the
>user may end up having unreadable files. Sorry I didn't notice that
>earlier.
Wouldt "cp -p" not do the right thing in this case?
cgf