You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 15, 2024. It is now read-only.
Add xnat_link_data_directory variable for XNAT role (#3)
- add `xnat_link_data_directory` variable for `xnat` role (defaults to
`true`)
- there is already a `xnat_create_data_directory` that if `true` will
ensure `xnat_web_server.storage_dir` exists with `tomcat` as the owner,
and then creates a symbolic link to `external_storage_drive`
- however, we need to distinguish between creating the data directory
and linking to external storage
- if `external_storage_directory` is defined, and is the same path as
the XNAT storage directory, then we musn't create and set permissions
for this path in the XNAT role. If we did, the mounted storage will have
the incorrect permissions
- so, if the `external_storage_drive` is the same path as
`xnat_web_server.storage_dir`, then the following values should be set:
```yaml
xnat_create_data_directory: false # don't set permissions for the mounted storage
xnat_link_data_directory: true
```
0 commit comments