Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3B79BC42.1010202@bambecksystems.com> Date: Tue, 14 Aug 2001 17:03:14 -0700 From: "Richard V. Molen" Organization: Bambeck Systems, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1) Gecko/20010607 Netscape6/6.1b1 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Win2k cygwin.bat bash unable to find 'cygwin root' profile Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Greetings, The Cygwin package is a pretty cool concept, but I'm just getting started with it. Although I expect this is a common problem, I was unable to find an answer after several hours in the documentation nor in the mailing list archives, nor after trying some things. Question: why does bash work under Administrator, but not under my normal Win2k login (on the same machine)? Problem: Installed Cygwin as Administrator using setup.exe on a Win2K box, selected 'all users' so access would be available via a Power User login. When logged in as Administrator, executing cygwin.bat starts 'bash' by finding the 'profile' in the 'etc' directory. However, when logged in via the Power User login 'ricm', the profile is not found. Details: Win2k SP1, cygwin version 2.78.2.3, GNU Emacs 20.7.1 - Power user login 'ricm', administrator login 'administrator' - Environment overview: variables in both logins look the same with the exception of HOME. HOME was set initially to d:\ric for Emacs init file. - cygwin root = d:\cygwin - Administrator login created d:\cygwin\home\Administrator directory Tried: moving 'profile' to d:\ric. Changing HOME to d:\cygwin\home\ricm after creating manually. from sample session to get environment variables via bash with 'ricm' login: C:\Documents and Settings\ricm\Desktop>rem @echo off C:\Documents and Settings\ricm\Desktop>D: D:\>chdir \cygwin\bin D:\cygwin\bin>bash --login -i bash-2.05$ /usr/bin/env NUMBER_OF_PROCESSORS=1 PROMPT=$P$G QSSL_TARGET=d:\qnxsdk\QNX\Neutrino\usr\nto PWD=/usr/bin LOGONSERVER=\\RIC OS2LIBPATH=C:\WINNT\system32\os2\dll; COMSPEC=C:\WINNT\system32\cmd.exe !C:=C:\Documents and Settings\ricm\Desktop QSSL_HOST=d:\qnxsdk\QNX\Neutrino SYSTEMDRIVE=C: HOSTNAME=RIC PROCESSOR_REVISION=0201 !D:=D:\cygwin\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH COMPUTERNAME=RIC WINDIR=C:\WINNT USERPROFILE=C:\Documents and Settings\ricm PROGRAMFILES=C:\Program Files MACHTYPE=i686-pc-cygwin PROCESSOR_IDENTIFIER=x86 Family 6 Model 2 Stepping 1, AuthenticAMD OS=Windows_NT PROCESSOR_ARCHITECTURE=x86 TEMP=/DOCUME~1/ricm/LOCALS~1/Temp PROCESSOR_LEVEL=6 SYSTEMROOT=C:\WINNT TMP=/DOCUME~1/ricm/LOCALS~1/Temp HOMEDRIVE=C: ROSERT_HOST=win32 ALLUSERSPROFILE=C:\Documents and Settings\All Users SHLVL=1 APPDATA=C:\Documents and Settings\ricm\Application Data COMMONPROGRAMFILES=C:\Program Files\Common Files HOMEPATH=\ USERDOMAIN=RIC USERNAME=ricm SHELL=/bin/sh HOSTTYPE=i686 OSTYPE=cygwin HOME=/cygdrive/d/ric TERM=cygwin PATH=/WINNT/system32:/WINNT:/WINNT/System32/Wbem:/cygdrive/d/Program Files/Ratio nal/Rose RealTime/6.1/bin/win32:/Program Files/Rational/common:/cygdrive/d/Ratio nal/common:/cygdrive/d/Rational/Rose RealTime/bin/win32 ROSERT_HOME=D:\Rational\Rose RealTime _=/usr/bin/env bash-2.05$ from setup.log 2001/07/26 16:40:59 Starting cygwin install, version 2.78.2.3 Current Directory: D:\ric\own\download\tools\cygwin source: download Selected local directory: D:\ric\own\download\tools\cygwin net: Direct site: ftp://mirrors.rcn.net/mirrors/sources.redhat.com/cygwin Downloaded latest/ash/ash-20010425.tar.gz Downloaded latest/autoconf/autoconf-2.52-1.tar.bz2 Downloaded latest/automake/automake-1.4-4.tar.gz Downloaded latest/bash/bash-2.05-6.tar.gz Downloaded latest/binutils/binutils-20010425-2.tar.gz Downloaded latest/bison/bison-1.28-1.tar.gz Downloaded latest/byacc/byacc.tar.gz Downloaded latest/bzip2/bzip2-1.0.1-6.tar.gz Downloaded latest/clear/clear-1.0.tar.gz Downloaded latest/cpio/cpio-2.4.2.tar.gz Downloaded contrib/cron/cron-3.0.1-4.tar.bz2 Downloaded latest/crypt/crypt-1.0-1.tar.gz Downloaded latest/ctags/ctags-5.0.1-1.tar.gz Downloaded contrib/cvs/cvs-1.11.0-1.tar.gz Downloaded latest/cygrunsrv/cygrunsrv-0.94-1.tar.bz2 Downloaded latest/cygwin/cygwin-1.3.2-1.tar.gz Downloaded latest/cygwin/cygwin-1.3.2-1-src.tar.gz Downloaded latest/dejagnu/dejagnu-20010117-1.tar.gz Downloaded latest/diff/diff.tar.gz Downloaded latest/expect/expect-20010117-1.tar.gz Downloaded latest/file/file-3.33-1.tar.gz Downloaded latest/fileutils/fileutils-4.1-1.tar.bz2 Downloaded latest/findutils/findutils.tar.gz Downloaded latest/flex/flex-2.5.4-1.tar.gz Downloaded latest/gawk/gawk-3.0.4-1.tar.gz Downloaded latest/gcc/gcc-2.95.3-5.tar.bz2 Downloaded latest/gdb/gdb-20010428-1.tar.gz Downloaded contrib/gdbm/gdbm-1.8.0-3.tar.gz Downloaded contrib/gettext/gettext-0.10.38-2.tar.bz2 Downloaded contrib/ghostscript/ghostscript-6.51-1.tar.bz2 Downloaded latest/gperf/gperf.tar.gz Downloaded latest/grep/grep-2.4.2-1.tar.gz Downloaded latest/groff/groff-1.16.1-1.tar.gz Downloaded latest/gzip/gzip-1.3-1.tar.gz Downloaded latest/inetutils/inetutils-1.3.2-14.tar.gz Downloaded contrib/irc/irc-20010101-1.tar.gz Downloaded contrib/jbigkit/jbigkit-1.2-4.tar.bz2 Downloaded contrib/jpeg/jpeg-6b-4.tar.gz Downloaded latest/less/less-358-3.tar.gz Downloaded contrib/libpng/libpng-1.0.11-1.tar.gz Downloaded latest/login/login-1.4-2.tar.gz Downloaded contrib/lynx/lynx-2.8.3-1.tar.gz Downloaded latest/m4/m4.tar.gz Downloaded latest/make/make-3.79.1-4.tar.bz2 Downloaded latest/man/man-1.5g-2.tar.gz Downloaded latest/mingw/mingw-20010424-1.tar.gz Downloaded latest/mt/mt-1.9.2-1.tar.bz2 Downloaded contrib/mutt/mutt-1.2.5i-2.tar.gz Downloaded contrib/ncftp/ncftp-3.0.2-2.tar.gz Downloaded latest/ncurses/ncurses-5.2-5.tar.gz Downloaded latest/cygwin/newlib-man-20001118.tar.gz Downloaded latest/opengl/opengl-1.1.0-5.tar.gz Downloaded latest/openssh/openssh-2.9p2-3.tar.bz2 Downloaded latest/openssl/openssl-0.9.6b-1.tar.bz2 Downloaded latest/patch/patch-2.5-2.tar.gz Downloaded latest/pcre/pcre-3.4-2.tar.gz Downloaded contrib/perl/perl-5.6.1-1.tar.gz Downloaded contrib/popt/popt-1.6.1-1.tar.gz Downloaded contrib/postgresql/postgresql-7.1.2-3.tar.bz2 Downloaded contrib/python/python-2.1-1.tar.gz Downloaded contrib/readline/readline-4.2-3.tar.bz2 Downloaded latest/regex/regex-4.4.tar.gz Downloaded contrib/rsync/rsync-2.4.6-2.tar.bz2 Downloaded contrib/rxvt/rxvt-2.7.2-6.tar.gz Downloaded latest/sed/sed-3.02-1.tar.gz Downloaded latest/sh-utils/sh-utils-2.0-2.tar.gz Downloaded contrib/squid/squid-2.4-STABLE20010508.tar.gz Downloaded contrib/ssmtp/ssmtp-2.38.7-2.tar.gz Downloaded latest/tar/tar-1.13.19-1.tar.gz Downloaded latest/tcltk/tcltk-20001125-1.tar.gz Downloaded contrib/tcsh/tcsh-6.10.00-3.tar.gz Downloaded latest/termcap/termcap-20001216-1.tar.gz Downloaded contrib/tetex/tetex-beta-20001218-1.tar.gz Downloaded latest/texinfo/texinfo-4.0-4.tar.gz Downloaded latest/textutils/textutils-2.0-2.tar.bz2 Downloaded contrib/tiff/tiff-3.5.6beta-2.tar.gz Downloaded latest/time/time.tar.gz Downloaded contrib/unzip/unzip-5.41-1.tar.gz Downloaded latest/vim/vim-5.8-2.tar.gz Downloaded latest/w32api/w32api-20010520-1.tar.gz Downloaded contrib/wget/wget-1.6-1.tar.gz Downloaded latest/which/which-1.4.tar.gz Downloaded contrib/xpm-nox/xpm-nox-4.1.0-1.tar.bz2 Downloaded contrib/zip/zip-2.3-1.tar.gz Downloaded latest/zlib/zlib-1.1.3-6.tar.gz mbox note: Download Complete 2001/07/26 17:49:16 Ending cygwin install -- Richard V. Molen Sr. Software Engineer Bambeck Systems, Inc. rvmolen AT bambecksystems DOT com (949) 250-3100 ext. 115 -- 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/