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]

Default home dir: /cygdrive/c


Hi gurus,

After installing successfully Cygwin on several NT4/2K hosts, I
have encountered a strange problem:
isoft@nrm8_1 ~
$ pwd
/cygdrive/c

instead of: /home/isoft

Why ?

Cygwin was installed using Windows user isoft, that belongs to
Administrators group.

A simple check of CYGWIN and PATH yields:
echo %CYGWIN%
binmode ntsec tty title
echo %PATH%
C:\WINNT\system32;C:\WINNT;c:\cygwin\bin

/etc/group contains:
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1476268339-1210066731-1381041710-513:513:
Admins:S-1-5-32-544:544:
Backup:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power:S-1-5-32-547:547:
Replica:S-1-5-32-552:552:
Users:S-1-5-32-545:545:

/etc/passwd contains:
SYSTEM:*:18:544:,S-1-5-18::
Admins:*:544:544:,S-1-5-32-544::
Administrator:*:1003:513:Fiktiv,U-NRM8_1\Administrator,S-1-5-21-1476268339-1210066731-1381041710-1003:/home/Administrator:/bin/bash

isoft:*:1001:513:isoft,U-NRM8_1\isoft,S-1-5-21-1476268339-1210066731-1381041710-1001:/home/isoft:/bin/bash

$ cd cygwin
ls -l
total 2
drwxr-xr-x    2 isoft    Admins          0 May 30 13:45 bin
drwxr-xr-x    8 isoft    Admins          0 May 30 13:44 etc
drwxr-xr-x    4 isoft    Admins          0 May 30 13:45 lib
drwxr-xr-x    2 isoft    Admins          0 May 30 13:45 tmp
drwxr-xr-x   16 isoft    Admins          0 May 30 13:45 usr
drwxr-xr-x    6 isoft    Admins          0 May 30 13:45 var

Please note that in other hosts 'ls -l' yields:
drwxr-xr-x    2 Admins   none            0 May 30 13:45 bin
drwxr-xr-x    8 Admins   none            0 May 30 13:44 etc
drwxr-xr-x    4 Admins   none            0 May 30 13:45 lib
drwxr-xr-x    2 Admins   none            0 May 30 13:45 tmp
drwxr-xr-x   16 Admins   none            0 May 30 13:45 usr
drwxr-xr-x    6 Admins   none            0 May 30 13:45 var

The result of 'cygcheck -svr' is found in the attached file
cygcheck.out

Attachment: cygcheck.out
Description: application/unknown-content-type-myinfo.outline

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]