I have a 15.04 machine with basically 2 user accounts, an admin and a restricted user. What I want is that both of them have separate home directories (for system/application settings etc.), but use the same data directories:
- Desktop
- Documents
- Music
- Pictures
- Public
- Templates
- Videos
- and maybe some more, program-specific data folders...
Those directories therefore have to be outside of those two users' home directory, e.g. be located in /home/shared-data/
or something like that and both users need full access on them.
If I navigate through that directory and back upwards in the hierarchy, I want to come out in the same user's home directory where I started, if possible. And the real shared directory should not be publicly accessible by new users, just by those users I specifically allowed.
Also, new files and folders created there should automatically be accessible to both users.
So what is the easiest way to move all data from the users' current home directories to this external location, then replacing the original folders with links/mounts/whatever to the new shared directory, so that it looks like before?