This preserves the permissions of the files copied to eliminate possible issues like the one of the issue linked.
I'm not too sure if this is the "correct" fix. I'm not too sure why we are copying the scripts to a shared external folder, and not executing directly the /opt files directly. Maybe to let an easy change/test of the scripts while developing?
Fixes https://github.com/Draggon/hassio-hdd-tools/issues/27
This preserves the permissions of the files copied to eliminate possible issues like the one of the issue linked.
I'm not too sure if this is the "correct" fix. I'm not too sure why we are copying the scripts to a shared external folder, and not executing directly the /opt files directly. Maybe to let an easy change/test of the scripts while developing?