Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting restrict_paths in globus 5.x #38

Open
rockpapergoat opened this issue Oct 4, 2023 · 1 comment
Open

setting restrict_paths in globus 5.x #38

rockpapergoat opened this issue Oct 4, 2023 · 1 comment

Comments

@rockpapergoat
Copy link

it looks like the calls to the defined type for adding config lines doesn't get called if the globus version is 5.

is the way to add path restriction via extra_gridftp_settings, and is the format the same?

@treydock
Copy link
Owner

What is it you are trying to do exactly? The only way I know to do restricted paths is like this:

# cat /etc/globus/ess-restrict-paths.json
{
  "DATA_TYPE": "path_restrictions#1.0.0",
  "read_write": [
    "/fs/ess"
  ],
  "none": [
    "/fs/ess/PDE*",
    "/fs/ess/PAS1103"
  ]
}

# globus-connect-server storage-gateway update posix --restrict-paths file:/etc/globus/ess-restrict-paths.json <UUID>

The old file /etc/globus-connect-server.conf I don't think matters for Globus v5.4 , which is the only file I've seen where paths can be set in a standard location. That file was for Globus v4 which is no longer supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants