Fix sessionrc permissions