Claude code modified my .bashrc without asking
1–6 of 6 posts
Re: Claude code modified my .bashrc without asking
#2[deleted]
Re: Claude code modified my .bashrc without asking
#3i had this same thing happen to me! I ended up making a bash script called "c" in my ~/bin folder which is in my path. Because the alias kept getting removed! It was one of the first times I thought "man, AI will start doing more and more 'stuff' without asking me, this is just the start."
Re: Claude code modified my .bashrc without asking
#4Not to state the obvious but this is the users fault, not claude code's.
When I use it, I do so on a dedicated cloud instance with a backed up codebase, and even then I still read what it proposes before approving.
Running a script that can make arbitrary modifications to your machine, on your local or otherwise important machine, is sort of obviously a bad idea.
Re: Claude code modified my .bashrc without asking
#5Not to state the obvious but this is the users fault, not claude code's. When I use it, I do so on a dedicated cloud instance with a backed up codebase, and even then I still read what it proposes before approving. Running a script that can make arbitrary modifications to your machine, on your local or otherwise important machine, is sort of obviously a bad idea.
this is done by the installation process, not by AI.
Re: Claude code modified my .bashrc without asking
#6It's very disturbing that there are devs who think this behavior is even remotely acceptable.