Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

man does not work inside kungfuse tree #3

Open
mithodin opened this issue May 19, 2018 · 5 comments
Open

man does not work inside kungfuse tree #3

mithodin opened this issue May 19, 2018 · 5 comments

Comments

@mithodin
Copy link

When trying to open a manpage from inside a mounted kungfuse instance, man gives this error:
man: can't change directory to '/home/lucas/code/fusegame/test': Permission denied man: command exited with status 255: sed -e '/^[[:space:]]*$/{ N; /^[[:space:]]*\n[[:space:]]*$/D; }' | (cd /home/lucas/code/fusegame/test && LESS=-ix8RmPm Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$PM Manual page man(1) ?ltline %lt?L/%L.:byte %bB?s/%s..?e (END):?pB %pB\%.. (press h for help or q to quit)$-R -M --shift 5 MAN_PN=man(1) manpager)
However, other software like info or vim work. Since permissions are not checked anyways, I don't see how the permission to enter the current working directory could be denied. What is going wrong here?

@itdaniher
Copy link
Contributor

strace -f -s 4096 man man -o /tmp/stracelog
and then gist /tmp/stracelog?

I'm not sure what's happening either :)

@mithodin
Copy link
Author

Well... I ran the command, and if I do it this way, man works.
Here's the gist: https://gist.github.com/mithodin/cc05c838f099dfe91bec2025be05f5ea

@itdaniher
Copy link
Contributor

fascinating. what distro are you on? what shell are you using? if you run which man what does it point to? any aliases for man? (type alias)

always fun when the tools to debug an issue partially resolve it....

@mithodin
Copy link
Author

I'm using funtoo and zsh (but the same thing happens in bash). which man is /usr/bin/man, and man is version 2.7.6.1. There are no aliases.

@mithodin
Copy link
Author

Huh, I've just tried the same on Mint and it works fine. man 2.7.5 there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants