Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <3CDEA8B5.1010507@ece.gatech.edu> Date: Sun, 12 May 2002 13:39:01 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cp.ese bug report -- possible fix? References: <3CD989CB DOT 4060806 AT ece DOT gatech DOT edu> <3CD98CF0 DOT 6050007 AT ece DOT gatech DOT edu> <3CDDABBE DOT 3020502 AT ece DOT gatech DOT edu> <20020512011000 DOT GB29021 AT redhat DOT com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Christopher Faylor wrote: > On Sat, May 11, 2002 at 07:39:42PM -0400, Charles Wilson wrote: > >>Well, I've attached a patch for this bug. However, it uncovered another >>problem with 'cp -p src dest', when src is not owned by the current user. >> > > If the system UID is 18 then maybe cygwin should be translating that to 0. > Especially if 0 has no meaning to windows. > Perhaps. I just followed the example set by Corinna's changes to inetutils. It might make sense to have cygwin1.dll translate UID=18 to UID=0. This would subsequently require: (a) all programs that have already adapted to "18" for cygwin, be changed back to "0" (b) what of /etc/passwd (c) what of file ownership and ACLs? --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/