Mobius icon indicating copy to clipboard operation
Mobius copied to clipboard

set correct permissions on build artifacts

Open skaarthik opened this issue 9 years ago • 4 comments

All files in the Mobius build output have 664 permissions. To use Mobius in Linux, one has to manually do chmod on sparkclr-submit.sh and .exe files (CSharpWorker, samples, examples etc.). Mobius users should not have to do this. We have to take care of this right after build is done or before packaging bits for release.

@kai-zeng - comments?

skaarthik avatar May 28 '16 06:05 skaarthik

Shall we always release the one built on Linux?

BTW, since now we always set the modes of.exe files to 755 when we zip the dependencies, so only the mode of sparkclr-submit.sh is a problem.

kai-zeng avatar May 31 '16 18:05 kai-zeng

@kai-zeng - release is now done on AppVeyor. I do not know how easy it is to move that over to Travis.

skaarthik avatar Jun 03 '16 03:06 skaarthik

Will add instructions in M3

skaarthik avatar Aug 08 '16 17:08 skaarthik

Currently, when AppVeyor release spark-clr-*.zip, Build.cmd script uses 7z to generate *.zip in which all files are 644 permission under Linux. However if we generate *.tar file, all files are 755 permission under Linux. Although it behaves a little strange, user would not manually do chmod on sparkclr-submit.sh and .exe files.

Myasuka avatar Aug 26 '16 04:08 Myasuka