| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4F182928.40308@gmail.com> |
| Date: | Thu, 19 Jan 2012 14:31:04 +0000 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT gmail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygwin Configuration |
| References: | <33163653 DOT post AT talk DOT nabble DOT com> |
| In-Reply-To: | <33163653.post@talk.nabble.com> |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 18/01/2012 19:49, Ashlar wrote:
> I have cygwin installed with a number of directories named following this
> format:
>
> C:/Documents\040and\040Settings/Administrator/_web/crhub /webroot ntfs
> binary,posix=0 0 0
>
> When I use the Mount command it includes the assignment for the line
>
> When I enter 'cd /webroot from the command line I get an error message
> 'bash: cd: /webroot: no such file or directory'
>
> These directory names worked until I deleted the path in .bash_profile
> accidentally. Now these pathnames are no longer recognized. I have tried
> to rewrite the Path=$path... line in the file .bash_profile, but do not know
> what to include in it. My windows path is being loaded and contains paths
> for C:/cygwin, C:/cygwin/etc/ and the absolute paths for the /webroot
> directory. Any suggestions are appreciated.
There are default copies of a lot of these sorts of installable scripts
under /etc/defaults. You'll find the original .bash_profile at
/etc/defaults/etc/skel/.bash_profile. (Note that that's a default for the
version that goes into /etc/skel, which is the 'current' one that's then used
to set up new home dirs the first time a user runs the cygwin shell.)
cheers,
DaveK
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |