X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
X-VirusChecked: Checked
X-Env-Sender: tom.quarendon@teamwpc.co.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 <tom.quarendon@teamwpc.co.uk>
Reply-To: tom.quarendon@teamwpc.co.uk
User-Agent: Thunderbird 2.0.0.16 (Windows/20080708)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Problems with file permissions and cp when running on Vista
References: <4889B696.70304@teamwpc.co.uk> <4889ECCB.2030805@cygwin.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

