Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am testing a bash script.

It sometimes does this:

ls /..

In Linux, this is same as:

ls /

But in a fakechroot setup like this:

fakechroot fakeroot chroot sandpit

I get a list of files in my directory containing sandpit.

Is this expected behaviour?

share|improve this question

migrated from Dec 20 '12 at 9:52

This question came from our site for professional and enthusiast programmers.

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.