shell - Run file when .tar.gz file is opened -


i trying make executable link in email mac, don't want .exe file. tried using .command file run when click on it, said it's unidentified developer , don't want recipient have change security settings. want use .tar.gz file has shell script in it.

the problem when click link, downloads doesn't automatically run shell script. need know when file unzipped can run shell script inside. know how that?

it isn't reasonable expect able run arbitrary script on user's machine, without him explicitly asking run (e.g. if he's doing downloading file, or opening non-executable file).

if os allowed that, serious security breach.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -