Update profile and change permissions on xpmrc.