There is very little integration between the Globus CLI and a local instance of Globus Connect Personal.
I'm happy to discuss why this is, at least from the perspective of the CLI development, but it's largely off-topic.
The shortest explanation is that Globus Connect Personal predates the very idea of the Globus CLI, and building a smooth integration between the two is nontrivial.
The only really notable exception is the
globus endpoint local-id
command. This was fairly easy for us to add, and solves the problem of 'self-discovery' for endpoints, allowing people to write more portable scripts which operate against the Endpoint on their current machine.
"Accessible Folders" is a Globus Connect Personal setting, and if you want to modify the state of Globus Connect Personal installation, you either need to
- use the GUI to adjust its settings
- IF you are using Globus Connect Personal for Linux, adjust the command-line arguments to Globus Connect Personal when you launch it
You can get help text for the Globus Connect Personal command-line entry point with
./globusconnect -h
from the dir where you unpacked the Globus Connect Personal tarball.
The option you'll want to try using is `-restrict-paths` and the help text offers a fairly comprehensive explanation of its usage.
The `globus endpoint create --shared` command is for creating a Shared Endpoint on a path where you have access.
So once you have the local permissions configuration required, that will presumably be the command you want to run in order to start sharing data out of a directory.
`globus endpoint permission create` creates Access Control List rules (ACLs) on Shared Endpoints, and will therefore be the logical next step once you have a Shared Endpoint created and functioning.