{"action":"created","issue":{"url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/31","repository_url":"https://api.github.com/repos/mhogomchungu/zuluCrypt","labels_url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/31/comments","events_url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/31/events","html_url":"https://github.com/mhogomchungu/zuluCrypt/issues/31","id":140550336,"number":31,"title":"Feature request: make bind mountpoint (public mirror) configurable","user":{"login":"pspot2","id":14319777,"avatar_url":"https://avatars.githubusercontent.com/u/14319777?v=3","gravatar_id":"","url":"https://api.github.com/users/pspot2","html_url":"https://github.com/pspot2","followers_url":"https://api.github.com/users/pspot2/followers","following_url":"https://api.github.com/users/pspot2/following{/other_user}","gists_url":"https://api.github.com/users/pspot2/gists{/gist_id}","starred_url":"https://api.github.com/users/pspot2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pspot2/subscriptions","organizations_url":"https://api.github.com/users/pspot2/orgs","repos_url":"https://api.github.com/users/pspot2/repos","events_url":"https://api.github.com/users/pspot2/events{/privacy}","received_events_url":"https://api.github.com/users/pspot2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-14T01:14:13Z","updated_at":"2016-03-14T12:34:51Z","closed_at":null,"body":"Hi Francis,\r\n\r\nwhen selecting the public mirror in zuluMount, currently the second mountpoint is created under \"/run/media/public\". Would it be possible to make it changeable from the GUI if necessary (e.g. when the checkbox is ticked, an editable field appears, containing the default value)?\r\n\r\nThe reason I'm asking is that it would be the most elegant solution to having the (S)FTP-chrooted users access volumes unlocked by zuluCrypt. As symlinks don't work in this kind of setup, one has to bind-mount zuluCrypt's public mountpoint once again as root to a directory inside the chrooted one.\r\n\r\nAlso, the only way to mount the public mirror from GUI is using zuluMount. I usually use zuluCrypt because it allows me to select VeraCrypt volumes from the menu. Mounting VC from zuluMount is more awkward - you need to additionally set the volume to VC in the unlock dialog box. Would it be possible to copy the public mirror functionality to zuluCrypt's unlock dialog box as well?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/comments/196292753","html_url":"https://github.com/mhogomchungu/zuluCrypt/issues/31#issuecomment-196292753","issue_url":"https://api.github.com/repos/mhogomchungu/zuluCrypt/issues/31","id":196292753,"user":{"login":"mhogomchungu","id":3496115,"avatar_url":"https://avatars.githubusercontent.com/u/3496115?v=3","gravatar_id":"","url":"https://api.github.com/users/mhogomchungu","html_url":"https://github.com/mhogomchungu","followers_url":"https://api.github.com/users/mhogomchungu/followers","following_url":"https://api.github.com/users/mhogomchungu/following{/other_user}","gists_url":"https://api.github.com/users/mhogomchungu/gists{/gist_id}","starred_url":"https://api.github.com/users/mhogomchungu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhogomchungu/subscriptions","organizations_url":"https://api.github.com/users/mhogomchungu/orgs","repos_url":"https://api.github.com/users/mhogomchungu/repos","events_url":"https://api.github.com/users/mhogomchungu/events{/privacy}","received_events_url":"https://api.github.com/users/mhogomchungu/received_events","type":"User","site_admin":false},"created_at":"2016-03-14T12:34:51Z","updated_at":"2016-03-14T12:34:51Z","body":"\r\nFrom a technical point of view,having users freely choose shared mount point has two problems.\r\n\r\n1. The current logic says, \"with a mount path of foo/xyz,check if it has a shared mount point by checking if /run/media/public/xyz path exists\". Making the shared mount point being at arbitrary location will complicate the logic and will probably involve parsing \"/proc/self/mountinfo\" looking for bind mounts.\r\n\r\n2. For security reasons,it is not wise for a normal user to have writing access on the mount point prefix path so allowing users to set shared mount point to arbitrary locations is a bad idea. I can add a compile time option to change the shared mount point prefix if that will be workable for you.Predictable path prefix is most important here to simplify code logic.\r\n\r\nGUI elements are complicated as they are and i do not want to add more elements unless its something really important/very fundamental or something most users will expect as default. Very few people will use share mount point feature and fewer among them will want to chang it and hence i think its a good idea to have a GUI element for it.\r\n\r\nI did not add the shared mount point feature to zuluCrypt-gui because i run out of letters for zuluCrypt-cli options and reusing existing letters adds to confusion. Will look at them again to see if there is any available i can use to support the feature.\r\n\r\n"}}