Hi Matthias,
You should be able to set the executable bit for a linux executable on
Mac OS X and preserve it with tar. Any standard tar cli utility will
honor the permissions when unpacking the file. There is no need to move
it to a Linux box first.
--
Best regards,
Mark Schonewille
Hi Mark,
thanks for your answer. I am not sure how i can set that flag for Linux under
Mac OS X.
Using a ls -al on Mac OS X i can see that it has already the executable flag
set. But when i
compress it with tar and move it to Linux and untar it, then flag is not set
anymore.
Regards,
Hi Matthias,
What is the owner on Mac OS X? Does this owner exist on Linux? If not, you
might want to chmod a-x or use chown. I think that the tar man page contains
some useful info.
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage:
Hi Matthias,
Check this tar option: --preserve-permissions
Should do the trick
Regards,
Thierry
2013/9/5 Matthias Rebbe matthias_livecode_150...@m-r-d.de
Hi Mark,
thanks for your answer. I am not sure how i can set that flag for Linux
under Mac OS X.
Using a ls -al on Mac OS X i can
Thanks Mark and Thierry for putting me in the right direction.
And yes, Thierry, that did it.
Thanks,
Matthias
Am 05.09.2013 um 16:18 schrieb Thierry Douez th.do...@gmail.com:
Hi Matthias,
Check this tar option: --preserve-permissions
Should do the trick
Regards,
Thierry