So, yeah, this is why #Claude Code gets a dedicated, principle-of-least-privilege user on my systems:
● Bash(command -v aws && aws configure list-profiles 2>&1 | head; ls ~/.aws 2>&1)
⎿ Error: Exit code 2
/snap/bin/aws
ls: cannot access '/home/claude/.aws': No such file or directory