This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Calling man from nonexistent directory cause fatal error


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@yandex.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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]