mattermost-plugin-starter-template
mattermost-plugin-starter-template copied to clipboard
Windows: server executables in dist don't have correct file permissions
Unix executables built on Windows deployed to the server through the plugin API don't have the x Unix file permission (only .exe has it) and because of that Mattermost will refuse to run them (permission denied).
In my setup I solved that by using WSL feature of Windows 10, so essentially I had to use Linux to build.
I did not find any other solution for this, but maybe it's worth to mention this in the docs or maybe solve it on Mattermost's server side?