In order to map one folder to another and allow SMB share follow these mappings you cannot use symlinks. Instead of symlinks mount command needs to be used.
eg: Map existing share Downloads (in folder /volume1/Downloads) to subfolder od Data share (/volume1/Data):
mkdir /volumne1/Data/Downloads mount -o bind /volume1/Downloads /volume1/Data/Downloads
pokud unison lokálně funguje, ale přes SSH ne
ash: unison: not found
problém je pravděpodobně v tom, že $PATH neobsahuje cestu k binárce, což se dá ověřit pomocí
ssh remotehost 'echo $PATH'
Možnosti řešení:
ssh remotehost /full/path/unisonssh remotehost 'PATH=„$PATH:/full/path“ ; unison'PermitUserEnvironment is enabled in sshd configuration. Add the PATH to: ~/.ssh/environmentssh remotehost 'ash -l -c „unison“'Zdroj: http://superuser.com/questions/666213/ash-command-not-found