MAC OS X specific questions, problems.
I'm also in Big Sur and the solution is not working ("no such directory" even if it exists!!!)
Just wanted to show that it worked for me. I am not a mac expert, hence the clunky screenshot. Your screen output could vary as I had already run this command. Also if you have a blank password setup, you won't be able to get into "sudo." Just make a dummy password (12345 or something) for the command and change it back when you are done.
Confirming that it worked on 12.5.1 on M1 Air. Thanks.