fls-bioinformatics-core / auto_process_ngs

Scripts and utilities for automatic processing & management of Illumina NGS sequencing data.
Other
9 stars 6 forks source link

'transfer_data.py': ensure copied files have read-write permissions #864

Closed pjbriggs closed 1 year ago

pjbriggs commented 1 year ago

Updates the transfer_data.py utility so that the transferred data have read-write permissions set for 'user' and 'group' ('others' only get read permission).

PR includes a pair of new functions in the fileops module (set_permissions and set_permissions_cmd) which are used to perform the permission resetting operations.