cp: cannot create directory : No such file or directory

You are getting a permission denied error.

Change the permissions of the addon directory using

sudo chmod -R 755 /home/Workspace/Release/addons/

It is probably because at least one of the directory of your path (/home/Workspace/Release/addons/) does not exist. cp will not create the addons directory (neither its parents of course), so ensure that the path really exists.

To create the path you can do:

mkdir -p /home/Workspace/Release/addons/

Tags:

Linux