Calling man from nonexistent directory cause fatal error
Andrey Repin
anrdaemon@yandex.ru
Tue Jan 20 06:36:00 GMT 2015
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
More information about the Cygwin
mailing list