Make sure correct user permissions are set