Copy only *.conf when copying experiment
Hi @dbeltran
I tried to copy an experiment from another user but it failed because it couldn't read a nohup file in the conf folder of the source experiment:
pbretonn@bscesautosubmit01:~$ autosubmit expid -y a22k -H marenostrum4 -d "Copy of a22k to debug octal number issue in clean (issue 1032)"
The new experiment "a262" has been registered.
Copying previous experiment config directories
[ERROR] Can not create experiment: [Errno 13] Permission denied: '/esarchive/autosubmit/a22k/conf/nohup.out'
Cleaning...
Removing experiment directory...
Deleting experiment from database...
Experiment a262 deleted
pbretonn@bscearth319:/esarchive/autosubmit/a22k/conf$ ls -lrt /esarchive/autosubmit/a22k/conf/nohup.out
-rw-------+ 1 rmahmood Earth 4201535 Jul 30 17:14 /esarchive/autosubmit/a22k/conf/nohup.out
I've asked the owner of the file to change the permission but I think it might be interesting to copy only the conf/*conf files when copying the experiment, other files aren't useful anyway.
Thanks!