Opened 5 years ago

Last modified 5 years ago

#1178 closed enhancement

Scripts should not fail if it can't change group on files — at Version 1

Reported by: Nicklas Nordborg Owned by: Nicklas Nordborg
Priority: major Milestone: Reggie v4.23.1
Component: net.sf.basedb.reggie Keywords:
Cc:

Description (last modified by Nicklas Nordborg)

See #1174. This implemented a 'chgrp' command to allow external data to be shared to a specific group based on the prefix used on the sample names. However, if the 'chgrp' command fails (for example if the specified group doesn't exists or is inaccessible for the current user), the entire script fails and results will not be imported back into BASE.

Error: [1] chgrp: 
changing group of `/home/thep-nni/../.._L1_R1.fastq.gz': Operation not permitted
...

This is a bit unfortunate since the failure can typically be fixed easily by a superuser on the file server and there is really no need to have to delete and re-run the analysis.

Change History (1)

comment:1 by Nicklas Nordborg, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.