minifierbeans icon indicating copy to clipboard operation
minifierbeans copied to clipboard

[BUG]Bash scripts with wrong file permissions on MacOS

Open andrebreves opened this issue 3 years ago • 1 comments

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):

  • OS: MacOS 11.6
  • NetBeans version: 12.5
  • JDK version: 16

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

andrebreves avatar Oct 20 '21 20:10 andrebreves

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 :)

Chris2011 avatar Oct 20 '21 21:10 Chris2011