error while copying analysis data

Dear Support team,

I get following errors while copying.


cp: cannot create regular file `/NMR_Data/spectra0520_TROSY_Jing.ccpn/ccpnv3/ccp/general/KeywordDefinition/`$`\002`: Invalid argument
cp: cannot create regular file `/NMR_Data/spectra0520_TROSY_Jing.ccpn/ccpnv3/ccp/general/KeywordDefinition/`$`\001`: Invalid argument
cp: cannot create regular file `/NMR_Data/spectra0520_TROSY_Jing.ccpn/ccpnv3/ccp/general/KeywordDefinition/`$`\004`: Invalid argument
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/ccpnv3/memops/Implementation`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/ccpnv3`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/logs`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/scripts/pymol`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/scripts`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/state/Pipeline`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/state`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/data/spectra`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/data/pluginData`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn/data`: Operation not supported
cp: preserving permissions for `/NMR_Data/spectra0520_TROSY_Jing.ccpn`: Operation not supported



Any help would be appreciated.

Thanks

Hi Jing,

What is the command you are actually using? Did you use any particular flags?

When I do
cp -r Project.ccpn ../DifferentDirectory/Project.ccpn
it works without problems.

If you are using the -p flag (looks like perhaps you might be doing this), I think you can run into issues. From the `man cp` page:

-p Cause cp to preserve the following attributes of each source file in the copy: modification time, access time, file flags, file mode, user ID, and group ID, as allowed by permissions. Access Control Lists (ACLs) and Extended Attributes (EAs), including resource forks, will also be preserved.

If the user ID and group ID cannot be preserved, no error message is displayed and the exit value is not altered.

If the source file has its set-user-ID bit on and the user ID cannot be preserved, the set-user-ID bit is not preserved in the copy`s permissions. If the source file has its set-group-ID bit on and
the group ID cannot be preserved, the set-group-ID bit is not preserved in the copy`s permissions. If the source file has
both its set-user-ID and set-group-ID bits on, and either the user ID or group ID cannot be preserved, neither the set-user-ID nor set-group-ID bits are preserved in the copy`s permissions.



Alternatively, could it be that you don`t have write permission in the directory where you are trying to copy to?

Are you able to try copying with a file browser of some kind rather than on the command line?

Best wishes,
Vicky