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://secure-web.cisco.com/1SLN7bBYjZu-bnafE0XmYBKp4_8pWxmQpnG8QIjVGYAr_Mu... - 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.mgzcp: preserving permissions for '/subjects/sub-SAY118_ses-B.long.sub-SAY118/mri/filled.mgz': Invalid argumentLinux 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
I think the problem is that the file system does not support preserving permissions with cp -p. I've never seen this before. I'm guessing it is your file system that is configured in this way, but it is possible that it is the container. Can you try to execute the cp command outside of the container? If that fails, you might ask your sys admins to change the way the file system is configured. You can also try editing recon-all at that line to use cp --preserve=timestamps instead of cp -p
On 4/1/2026 1:35 PM, fsbuild wrote:
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-director...
- 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 Linuxccc0425.campuscluster.illinois.edu http://secure-web.cisco.com/1NdFili4S68zNZhuGBq2Gf9skzip6Yxr2BGrqc99S0Dj0lJaLhXhCWbIsMHmDGofTXXiqqyss0B6DHdmo--H32b_6GeWOPlL4kb5d1wRt8ao-2N2zCyXIMVv86VyY_q33pTkkH4rIEseFz1U8LLKtJiCGybieFESjL-Mw47ruq_-ohxS16D8clzFimK0ZkkX6NuL7WFRXpGrwZAf-7T6CfeGmXTJcKLrsjNfgHe9LcgStYXGKtPKxLlYe-l1HVa54C7HZiBAe9jJC4jgVzD8wZZ8uiqVFWKurSlcwwigEySoSD87j3U8GuJxDu8qmw3vAcoxGGLsqlAoEucKwLvkwZQ/http%3A%2F%2Fccc0425.campuscluster.illinois.edu%2F5.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
Freesurfer mailing list --freesurfer@nmr.mgh.harvard.edu To unsubscribe send an email tofreesurfer-leave@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman3/lists/freesurfer@nmr.mgh.harvard.e...
freesurfer@nmr.mgh.harvard.edu