I'm wondering how to create in linux something like symbolic link, that wil point to different directories for different users seeing it. I was searching for long time for itand found something called hlfsd - Of course common symlinks cannot do this,because they base on kernel "stuff", but I've found something that may solve this problem.
But, is there any "better" solution - anythong that will give me link-like file, that will point to different directories based on f.e. user's id?
Basically what I want to do:
Lets consider we have server with file structure A/{a1 a2}/{b1 b2}/{c1 c2}
inside of these folders, there are large files and should not be copied over the network.
Lets say user U1 wants to access these files, so he can make symlink (so far so good).
The problem is, when he wants to access this structure and he wants to have locally copy only of for example A/a1/b1/c1
. Of course we can make a lot of symlinks locally, that will point to those folders on server, but then we have no one very important to me feature - when somebody for example adds folder A/a1/b1/c3
, then this user, that was linked to this file structure and have A/a1/b1/c1
locally, will not see the changes, because all his links were created manually.