How to give bitrise vagrant permission to "mv" or "cp" build artifact to a different folder?

Hello,

I am using bitrise to build an application then move/copy it to $WORKSPACE folder so that another plugin on bitrise (Veracode) will grab it from there to execute next steps.

So the problem is when performing the mv or cp I got:

mv: abcd.zip $WORKSPACE/abcd.zip: Permission denied

cp: abcd.zip $WORKSPACE/abcd.zip: Permission denied

Checking detail of abcd.zip under current dir I got:

-rw-r–r-- 1 vagrant staff 845734 Aug 7 10:56 abcd.zip

Is it possible to to give bitrise vagrant permission to “mv” or “cp”?

Hi @michaelsensibill!

Could you try the same commands with a sudo prefix? :slight_smile:

Thanks. I found another solution to achieve it.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.