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

Directory not listing after a chdir() #27

Open
m13253 opened this issue Oct 6, 2014 · 0 comments
Open

Directory not listing after a chdir() #27

m13253 opened this issue Oct 6, 2014 · 0 comments

Comments

@m13253
Copy link

m13253 commented Oct 6, 2014

My distro: ArchLinux
Kernel version: Linux brilliant-laptop 3.16.3-1-ARCH #1 SMP PREEMPT Wed Sep 17 21:54:13 CEST 2014 x86_64 GNU/Linux
Mbox version: a131424

How to produce:

$ mbox bash
$ pwd
/home/brilliant
$ ls
Desktop Documents Downloads Music Pictures Public Videos
$ ls .  # Relative path
Desktop Documents Downloads Music Pictures Public Videos
$ ls /home/brilliant  # Absolute path
(empty)
$ ls /
(empty)
$ cd /home/brilliant  # Magic happens after cd
$ ls
(empty)
$ ls /
home  # Was empty before cd

What to expect:

  • Consistent behavior before cd and after cd

I would like to know, is the inconsistency a bug or a feature? If it is a bug, could you please fix it?

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

1 participant