openssh: uid changes unexpectedly to cyg_server

bartels bartels@mailme.ath.cx
Thu May 10 16:10:00 GMT 2012


On 05/10/2012 05:39 PM, Larry Hall (Cygwin) wrote:
> On 5/10/2012 8:51 AM, bartels wrote:
>> Hi All,
>>
>> I have a situation where the uid changes to cyg_server unexpectedly when
>> changing PATH:
>>
>>
>> $ ( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; id )
>> UID=1001(pleezy) GID=513(None)
>> groepen=513(None),544(Administrators),545(Gebruikers),1000(HomeUsers)
>> uid=500(cyg_server) gid=544(Administrators) groups=544(Administrators)
>>
>>
>> The uid 500 is in itself strange, as it does not seem to belong to 
>> cyg_server
>>
>>
>> The devkit directory looks normal:
>>
>> $ ls -l /cygdrive/c/devkit/msys/1.0.11/bin
>> totaal 9100
>> -rwxr-xr-x 1 pleezy None 105472 25 mrt 2008 a2p.exe
>> -rwxr-xr-x 1 pleezy None 162 26 aug 2008 awk
>> -rwxr-xr-x 1 pleezy None 16896 26 aug 2008 basename.exe
>> . . .
>>
>> It is causing tremendous problems in file access.
>>
>> Any ideas?
>
> Yes.  You've changed the tool you're using when you changed your path.
> Try '( id; PATH=/cygdrive/c/devkit/msys/1.0.11/bin:/usr/bin:; 
> /cygdrive/c/cygiwn/bin/id)'.
>
>
You are right, of course.
Now the question is how to use the devkit properly.

Thanks,
Bartels



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list