I want to remove the personal folders (Documents, Downloads, etc.) from each users' home folder and place them in a separate subvolumes. I know I can very easily use symlinks to connect folders, but I prefer using bind mounts. The ultimate functionality would be for the users data folders (or even complete home) to mount when they log in and unmount when they log out.
So my question is: Where is the best place - using 15.04 - to do this? I have done it in Xsession in the past, but this was problematic because the $USER variable was root rather than the user logging in. I'm also aware we will be switching off of X11 in a couple more version so I'd like to get away from dependency on X11 execution.
So my question is: Where is the best place - using 15.04 - to do this? I have done it in Xsession in the past, but this was problematic because the $USER variable was root rather than the user logging in. I'm also aware we will be switching off of X11 in a couple more version so I'd like to get away from dependency on X11 execution.
Comment