{"action":"opened","issue":{"url":"https://api.github.com/repos/classicsc/syncthingmanager/issues/15","repository_url":"https://api.github.com/repos/classicsc/syncthingmanager","labels_url":"https://api.github.com/repos/classicsc/syncthingmanager/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/classicsc/syncthingmanager/issues/15/comments","events_url":"https://api.github.com/repos/classicsc/syncthingmanager/issues/15/events","html_url":"https://github.com/classicsc/syncthingmanager/issues/15","id":388998560,"node_id":"MDU6SXNzdWUzODg5OTg1NjA=","number":15,"title":"Normalises folder path locally even for remote device","user":{"login":"madduck","id":195073,"node_id":"MDQ6VXNlcjE5NTA3Mw==","avatar_url":"https://avatars2.githubusercontent.com/u/195073?v=4","gravatar_id":"","url":"https://api.github.com/users/madduck","html_url":"https://github.com/madduck","followers_url":"https://api.github.com/users/madduck/followers","following_url":"https://api.github.com/users/madduck/following{/other_user}","gists_url":"https://api.github.com/users/madduck/gists{/gist_id}","starred_url":"https://api.github.com/users/madduck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madduck/subscriptions","organizations_url":"https://api.github.com/users/madduck/orgs","repos_url":"https://api.github.com/users/madduck/repos","events_url":"https://api.github.com/users/madduck/events{/privacy}","received_events_url":"https://api.github.com/users/madduck/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-09T08:14:10Z","updated_at":"2018-12-09T08:14:10Z","closed_at":null,"author_association":"NONE","body":"I'm trying to use `stman` to add a folder to the remote device, but there, a different path is configured:\r\n\r\n```\r\n% stman -d fishbowl folder add --help -l '~/misc' /home/madduck/misc madduck-misc\r\n% stman -d fishbowl folder info madduck-misc\r\nfolder path missing\r\n```\r\n\r\nThe problem is that `stman` resolves symlinks in the path, and home directories on this machine aren't directly under `/home`:\r\n\r\n```\r\nreadlink(\"/home\", 0x7ffd589485d0, 4096) = -1 EINVAL (Invalid argument)\r\nreadlink(\"/home/madduck\", \"ssd/madduck\", 4096) = 11\r\nreadlink(\"/home/ssd\", 0x7ffd58948350, 4096) = -1 EINVAL (Invalid argument)\r\nreadlink(\"/home/ssd/madduck\", 0x7ffd58948350, 4096) = -1 EINVAL (Invalid argument)\r\nreadlink(\"/home/ssd/madduck/misc\", 0x7ffd589485d0, 4096) = -1 EINVAL (Invalid argument)\r\n```\r\n\r\nSo if used with a remote device, I don't think the local filesystem should be taken into account."}}
{"actor":{"display_login":"madduck"}}