Fixed permissions issues.