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

In one system I have the following file system organization.


Above /scratch/user1/ is accessible to all systems on the network, but /home/user1/ is not. I want to make MyDocs accessible too. How do I do that without creating a copy?

I tired creating symlink MyDocs in /scratch/user1/ but that seems not to help when accessed from remote systems.

share|improve this question
up vote 0 down vote accepted

The reason that a symlink doesn't work is that a symlink basically just says "hey, you need to look in '/home/user1/MyDocs' instead. And since that's not accessible, that's not going to work.

One way is to do the linking the other way around, i.e. make /scratch/user1 a real directory and then symlink that to /home/user1/MyDocs.

Another one is to remount it using --bind, like this:

mount --bind /home/user1/MyDocs /scratch/user1

But you really want to read the man page for mount thoroughly before trying that.

share|improve this answer

Be careful with this command, and read about it before using it:

mount --bind olddir newdir
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.