X-Spam-Check-By: sourceware.org Message-Id: <1137536305.19426.252087402@webmail.messagingengine.com> From: "Brett Serkez" To: "Scott Purcell" , cygwin AT cygwin DOT com Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 References: <34385CBC5E8E664EB0007814636AB36A0316D94C AT exchange1 DOT dimensions DOT com> Subject: Re: Install goes to network drive In-Reply-To: <34385CBC5E8E664EB0007814636AB36A0316D94C@exchange1.dimensions.com> Date: Tue, 17 Jan 2006 17:18:25 -0500 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > I am installing "cygwin" on a XP box. I have downloaded the setup and > files to my local c:/tmp/files > > When I run the setup, all appears good. I point to c:/cygwin and tell > it to find files from c:/tmp/files. The install completes fine but > when I type a cd ~ (show my home directory) the terminal shows my home > here: /cygdrive/h which is a mounted server. I have done this three > times, and each time it does this. I checked all environment > variables. I just want my home to be /cygdrive/c so I can add a > .bashrc and get rolling. Your home directory is determined by the contents of /etc/passwd, just as it would be on a UNIX/Linux system. mkpasswd is run during installation to generate /etc/passwd. You can run the command 'mkpasswd -l' to see what was generated if you are not in a domain, and 'mkpasswd -d' to see what was generated if you are in a domain. Use 'id' to see your user name and then look at /etc/passwd to see what the setting is for your account, the easiest way to do this is with 'grep user /etc/passwd'. Your home directory is the second to last field. You can edit /etc/passwd and change your home directory in this file, it would usually be /home/user, but you can set it to anything you want. Brett ---------------------------------------------------------------- Brett C. Serkez, Techie -- 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/