epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
144 stars 59 forks source link

Support custom nfs storage mount chmod #3367

Closed tcibinan closed 11 months ago

tcibinan commented 11 months ago

Background

Currently, mount_storages.py scripts executes chmod g+rwx for all nfs storage mounts. In certain cases such mechanism can be too unsecure e.g. ssh keys directory.

Approach

Introduce an optional way to override mount initial mask to be used in chmod call via storage metadata key chmod.