Remove permissions to restore compatibility with 3rd party

Signed-off-by: Jonas Kalderstam <jonas@kalderstam.se>