cp.ese bug report -- possible fix?

Charles Wilson cwilson@ece.gatech.edu
Sun May 12 15:03:00 GMT 2002


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/



More information about the Cygwin mailing list