This repository was archived by the owner on May 16, 2023. It is now read-only.

Description
I'm trying to use stman to add a folder to the remote device, but there, a different path is configured:
% stman -d fishbowl folder add --help -l '~/misc' /home/madduck/misc madduck-misc
% stman -d fishbowl folder info madduck-misc
folder path missing
The problem is that stman resolves symlinks in the path, and home directories on this machine aren't directly under /home:
readlink("/home", 0x7ffd589485d0, 4096) = -1 EINVAL (Invalid argument)
readlink("/home/madduck", "ssd/madduck", 4096) = 11
readlink("/home/ssd", 0x7ffd58948350, 4096) = -1 EINVAL (Invalid argument)
readlink("/home/ssd/madduck", 0x7ffd58948350, 4096) = -1 EINVAL (Invalid argument)
readlink("/home/ssd/madduck/misc", 0x7ffd589485d0, 4096) = -1 EINVAL (Invalid argument)
So if used with a remote device, I don't think the local filesystem should be taken into account.