Jason,
If both /home and /labs are allowed on the collection (i.e. both paths are listed as permitted in its storage gateway path restrictions), then symlink will be shown, and clicking on the symlink would bring you into its /labs target as expected.
But if /labs is not a permitted path for this collection, then by default it will be shown, but will not be followed (with a ‘you don’t have permission’ error upon clicking). Unless you use the rp-follow-symlinks trick (and defer access control to filesystem-only permissions as opposed to filesystem+Globus ones).
Lev
P.S. To enable rp-follow-symlinks feature: add
rp_follow_symlinks 1
to /etc/gridftp.conf (or to something like /etc/gridftp.d/z_symlinks)
~ Karl
Jason,
Prerequisites for the behavior I described:
"read_write": [
"/home",
"/data" # or "/data/labs"
]
/ unless there are strong reasons otherwise - and in your case, I’d say there are strong reasons for the base path of / (since this collection is associated with a cluster, users might like the familiar directories layout).Would you be able to share path restriction settings on the storage gateway? (should be printed among many other things via gcs storage-gateway show STORAGE_GATEWAY_ID --include-private-policies). Of course please remove anything sensitive before posting to the list (or if you’d like, we can work this as a support ticket and then you could post summary findings for the list).
Lev