Linux standalone created with MacOSX- how to set the executable flag permanently
Matthias Rebbe
matthias_livecode_150811 at m-r-d.de
Thu Sep 5 09:29:56 EDT 2013
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,
Matthias
Am 05.09.2013 um 15:18 schrieb Mark Schonewille <m.schonewille at economy-x-talk.com>:
> 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
>
> Economy-x-Talk Consulting and Software Engineering
> Homepage: http://economy-x-talk.com
> Twitter: http://twitter.com/xtalkprogrammer
> KvK: 50277553
>
> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com
>
> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi
>
> Fill out this survey please
> http://livecodebeginner.economy-x-talk.com/survey/
>
> On 9/5/2013 13:38, Matthias Rebbe wrote:
>> Hi,
>>
>> i am no Linux expert, although i started my career in the 80s in a company where we worked exclusively on Xenix and Unix. But that´s a long time ago.
>> So please excuse my question if it sounds dumbly.
>>
>> I´ve created a Linux app on MacOSX. To get this app to run under Linux the customer has to set the "executable" flag for that app.
>> I want to create a tar or tar.gz of that file with that flag already set. What steps are needed? Is it sufficient if i
>> set the flag on a Linux machine for that app and create a tar or tar.gz on that machine of that app?
>>
>> Or is it mandatory to set that flag on the customer machine?
>>
>> Regards,
>>
>> Matthias
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list