X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=hyB2HM8qZK7k30GsrSqEUF0VDwGfqhIXunVUvxOkNAwAAHAtlke+U LhErDqMLPmti3bPVtqdjrQazr+gmG+7YkgpkypfbPua5hh8lgwsbFpu4jdD5xTXZ sFvDItJF7Qirkb+GLN3aOFp8q59EEbeUGPUsEJTtDVM4sZDkLTc6nA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=xWzLPN2quEFAlNhKa3eU7JRMOsY=; b=LOvjoppeTOL1DxF0a1xKDThxWNPj yUSdaocTucZ6XUVqDMT2WD4Mw7f2vRbC0WnE3lKC7IkKEW4sX7k9CAsIRrE4AlU2 EzYuys8ySjY9X5DXRzF+CjS4fGYJdxn8ze/o1VQfg+KW2U9SoHXG74nBTnOd60c2 NKgmk1hRMwWaRXM= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=1.7 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_BODY_URIBL_PCCC,KAM_FROM_URIBL_PCCC,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtp.ht-systems.ru Date: Tue, 20 Jan 2015 04:38:36 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <296158004.20150120043836@yandex.ru> To: All Subject: Calling man from nonexistent directory cause fatal error MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, All! I was doing some cleanup, and accidentally left Cygwin terminal hanging in a directory I've since deleted. When trying to reference bash manual from there, the thing all went down in flames of $ man bash man: can't change directory to '/home/anrdaemon/1': Permission denied man: command exited with status 255: (cd /home/anrdaemon/1 && LESS=-ix8RmPm Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page bash(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$ MAN_PN=bash(1) less -s) Is this expected behavior? Why it is trying to chdir anywhere, anyway? I can reproduce this from both local and remote filesystems. $ uname -a CYGWIN_NT-6.1 daemon2 1.7.34s(0.283/5/3) 20150108 17:09:28 x86_64 Cygwin Please let me know, if there's any other information you need. The list is known to eat my cygchecks. >.> -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 20.01.2015, <04:32> Sorry for my terrible english... -- 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