On Mon, 21 Feb 2005 12:26:54 +1300, Andre Renaud wrote:
> In general this is a bad idea, you'll have all kinds of problems with
> permissions, and probably other things too. Since most of these problems
> are only for the root of your home directory, the solution that I've
> used in the past is to just mount your C:/My documents directory
> somewhere on linux (/windows, /documents etc...) and then put symlinks
> in your home directory to the relevant parts of it. So if you've got "my
> documents/music", you can now have /home/user/music as a symlink to it
> etc.... a bit more maintenance, but not too hard.

I use an intermediate layer of links as follows:
1. Create a directory called "/links/" or "/var/links/"
2. In the "links" directory, create symlinks to the actual locations.
3. In people's home directories, have links pointing to the symlink in
the links directory.

That way, if you move your "My Music", "My Downloads" or "My Pictures"
to a new location, instead of finding every link that points to it,
you only need to update the symlink in the "links" directory.

eg On our computer at home we have /usr/share/Music which contains our
ogg[1] music collection.

We have a symlink /links/Music -> /usr/share/Music

Each user has a link as follows:
/home/julia/Music -> /links/Music
/home/yuri/Music -> /links/Music

If I ever move /usr/share/Music somewhere else, the links in our home
directories stay the same, only /links/Music needs updating.

More work for initial set-up. Less head-aches when you move folders
that are linked to from more than one place.

Yuri

[1] I don't need to worry about mp3 patents :-P
-- 
** WARNING to mailing list repliers **
Gmail over-rides "Reply-To:" field. Check your "To:" address before
sending reply to this post.

Reply via email to