This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cp.ese bug report -- possible fix?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]