Fix permissions and sourcing dotprofile.common.after.local