Fixes permissions (part 1)