resolving perm issues with checkout