X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org X-VirusChecked: Checked X-Env-Sender: tom DOT quarendon AT teamwpc DOT co DOT uk X-Msg-Ref: server-6.tower-188.messagelabs.com!1217229702!11778866!1 X-StarScan-Version: 5.5.12.14.2; banners=teamwpc.co.uk,-,- Message-ID: <488D735F.50006@teamwpc.co.uk> Date: Mon, 28 Jul 2008 08:21:03 +0100 From: Tom Quarendon Reply-To: tom DOT quarendon AT teamwpc DOT co DOT uk User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Problems with file permissions and cp when running on Vista References: <4889B696 DOT 70304 AT teamwpc DOT co DOT uk> <4889ECCB DOT 2030805 AT cygwin DOT com> In-Reply-To: <4889ECCB.2030805@cygwin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Larry Hall (Cygwin) wrote: > > I'd start at the source. Give yourself POSIX-style access to the files > to start with. 'cp' will preserve that access. 'cp' and many other > utilities don't take ACL permissions into account. They are silently > ignored. For whatever reason, it looks like your source file has no > POSIX permissions for user, group, and other. Fix that with 'chmod' > and I think you'll have solved your problem. > I suppose that I'm suprised and disappointed that I can't just use cp to copy arbitrary files around without first having to lay groundwork in order for things to work properly. We use cygwin cp as part of our build process and it complicates matters if can't just check a source tree out and have cp work properly on the result. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/