Disclaimer: I am absolutely not responsible for whatever goes wrong in your life or other peoples lives, not before and not after you decide to do anything that is described here in this post.Anyway, if anyone is interested, I'll make some time to write a "how to" in detail.
I received a request through PM to explain how to do this. Please read first the entire post before you execute any commands written here.
Let's say among our users we have Joe and Bill, and we want them all to see the root of the same share called "FTP" when they log in through FTP. They do not need their own Home folder, and they confirmed that we can happily erase it.
[In your own application, you will need to use the names of your users instead of "Bill" and "Joe", and the name of your desired home share instead of "FTP", but I guess that is obvious.

]
In the DSM:
First make sure the users Joe and Bill have at least read rights on the FTP share.
Control Panel > FTP > Security settings:
Enable "Change the selected users' root to user home",
and click "Select User" to select Joe and Bill. Then click "Finish" and "OK".
So, now when they will log in through FTP, they should arrive in their own home folder.
The next step is to delete their home folder, and create a "symbolic link" (a kind of shortcut) to the share "FTP" instead.
Through ssh:
- Code: Select all
rm -r -f /volume1/homes/Joe
rm -r -f /volume1/homes/Bill
ln -s /volume1/FTP /volume1/homes/Joe
ln -s /volume1/FTP /volume1/homes/Bill
So the first two commands
re
move the home directory of each of the above mentioned users (you need to be absolutely sure there is nothing in there that they would want to keep).
The last two commands create a new symbolic
li
nk instead (with the same name) to the share "FTP".
As this is done on the Linux level, none of the services have any clue that the home folder is not really the home folder any longer, but rather a redirection to another share.
(I guess you could also create a link to a sub-folder instead, within FTP. I haven't tried that, so I am not sure if they will be able to move up to the root of the share.)
I have found that this change persists through most firmware upgrades, but that you may need to do the first step - selecting the users in the DSM - again, or at least open that screen and then click "Finish" to confirm them once more. If not, they might again see all shares that they have rights for, instead of the intended share only.
If you ever want to undo this manual change, it is enough to delete the users, and their associated symbolic links will automatically get removed as well (as the DSM thinks it is deleting their home folders).