Fixing some permissions issues.