External Email - Use Caution        

You could make sure every directory is writeable under subjects, e.g.,
$ find /subjects -type d -exec chmod u+w {} +   

If /subjects is located outside of the container, then this might help,
https://stackoverflow..com/questions/45236106/why-does-docker-cp-of-directory-hierarchy-out-of-container-fail-with-permission

- R.

On Apr 1, 2026, at 16:04, Camacho, Paul <pcamach2@illinois.edu> wrote:

        External Email - Use Caution        
cp -p /subjects/sub-SAY118/mri/filled.mgz /subjects/sub-SAY118_ses-B.long.sub-SAY118/mri/filled.mgz
cp: preserving permissions for '/subjects/sub-SAY118_ses-B.long.sub-SAY118/mri/filled.mgz': Invalid argument
Linux ccc0425.campuscluster.illinois.edu 5.14.0-570.76.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Dec 17 04:36:29 EST 2025 x86_64 x86_64 x86_64 GNU/Linux