Giving a browser full disk access is definitely not a good idea: I think it is you who has misconfigured.
I think it is you who needs to read more carefully. They said "terminal" not browser.
At the time of my reply they wrote Firefox. Now it says Finder. Snarky edit!