fix sate settings path
fix permissions for config