X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL X-Spam-Check-By: sourceware.org Message-ID: <4A1FF783.2080402@cornell.edu> Date: Fri, 29 May 2009 10:56:03 -0400 From: Ken Brown User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Upgrade to cygwin 1.7 seemed to trash bash profile, path References: <4A1C0ACB DOT 1030001 AT cygwin DOT com> <20090528230354 DOT GD25043 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20090528230354.GD25043@ednor.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 On 5/28/2009 7:03 PM, Christopher Faylor wrote: > I'm not really following this discussion closely but there should not, > by default, be any entries for /usr/lib or /usr/bin in your /etc/fstab > file. I've actually come across one situation where things don't work right if those lines are missing. I often use 'ssh admin-user AT localhost' to simulate 'su'. After deleting the entry for /usr/bin from /etc/fstab, this produces the following: -bash: /usr/bin/tr: No such file or directory -bash: /usr/bin/sed: No such file or directory $ ls /usr/bin ls: cannot access /usr/bin: No such file or directory The problem doesn't occur in the other direction. In other words, if I'm logged in as an administrator and then do 'ssh non-admin-user AT localhost', there's no problem. And everything is fine with the entry for /usr/bin restored to /etc/fstab. Ken -- 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/