Fixed permissions for KWS