delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/12/13:39:01

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <cwilson AT ece DOT gatech DOT edu>
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>

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019