You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(perms): stop clone_or_update_repo clobbering home dir with docker group
chgrp/chmod in clone_or_update_repo applied to parent_dir unconditionally,
so cloning into /home/adam/pseudohome ran chgrp -R docker /home/adam and
chmod -R g+w — nuking .ssh permissions (SSH then rejects 770 .ssh dir).
Add group param to clone_or_update_repo and clone_or_update_private_repo_with_key_check;
guard chgrp/chmod block behind `if group`. Callers pass group from constants:
- HWGA repos and docker-related personal repos: group=docker
- pseudohome and dracula: no group (user:user only)
Also tighten module_pseudohome to non-recursive chown on home dir and
re-enforce set_ssh_perms after clone. Restructure PERSONAL_GITHUB_REPOS
from Dict[str,str] to Dict[str,Dict] consistent with HWGA_REPOS.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01F2ixsEtGQH2uBTwv7iXhAv
0 commit comments