Chris2011 / minifierbeans

Plugin to minify JS , CSS and HTML for quicken page load times by reducing the size of js/css/html files.
http://plugins.netbeans.org/plugin/49666/js-css-minify-compress
Apache License 2.0
37 stars 9 forks source link

[BUG]Bash scripts with wrong file permissions on MacOS #92

Open andrebreves opened 2 years ago

andrebreves commented 2 years ago

When installing the plugin in MacOS, the bash scripts are created without the execute bit set:

-rw-r--r--    1 breves  staff   366B 20 Out 16:21 google-closure-compiler

Steps to reproduce the behavior:

  1. Install plugin in Netbeans on MacOS
  2. Try to minify a file
  3. See error Permission denied error on output

Captura de Tela 2021-10-20 às 17 04 14

Environment (please complete the following information):

After I did a chmod a+x google-closure-compiler it worked:

-rwxr-xr-x    1 breves  staff   366B 20 Out 16:21 google-closure-compiler

Captura de Tela 2021-10-20 às 17 13 51

Chris2011 commented 2 years ago

Thx, interesting problem. I will have a look how I can fix this. Will search for a mac. If you know how to fix this, a PR is very welcome :)