Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, I work in a lab when all the guys use PCs with Windows and access the lab linux servers via ssh. I prefer linux, so I have a local ...
  1. #1
    Just Joined!
    Join Date
    Jul 2010
    Posts
    1

    Question links don't work after mount

    Hello,

    I work in a lab when all the guys use PCs with Windows and access the lab linux servers via ssh.

    I prefer linux, so I have a local installation of ubuntu 10.4 on my PC. I mount the home of our lab server using mount server:/home /mnt/home/. I can then access the files on the server (I had to change my local UID to match the one assigned to me on our server in order to be able to write to my home dir).

    The problem is all the (symbolic) links I have on the server don't work when I access them through the mounted location. I guess the system simply tries following the link in my local /home instead on server:/home.

    Is there a way to make the links work?

    Thanks,
    Dave

  2. #2
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Location
    Harrow, UK
    Posts
    955
    I guess the system simply tries following the link in my local /home instead on server:/home.
    No, I don't think it's that. When you mount a partition on an occupied directory, the contents of that directory become invisible for the duration so there's no way links in your local home directory could be read or followed.

    I think what is happening is that the links on the server are being interpreted as local links. I have noticed something similar when I mount my Debian partition in Crux or vice versa; the link either goes to the local equivalent (if there is one) or shows up as broken if there isn't. But I can't think of a solution.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...