In San Rafael, the city's building official issues the permit for work that builds, alters or repairs a building, with exceptions the city lists. That rule alone doesn't settle whether your barrier needs one, so I find out before we start. If it does, we pull the permit and set up the inspection. You can read the general rules on the city's building permits page.
Even work that needs no building permit can still come with conditions from the city's planning, fire prevention or public works departments. New permit applications go through the city's online system, OpenGov. We sort that side out with the city as part of the job, so it's one less thing on your list while the crawl space gets fixed.
Under older houses here, we often find plastic that went down years ago and is now torn, pulled back or missing in the corners, along with stored boxes that have to come out first. We do the same work in San Anselmo and Novato, and in the other cities we serve, so if yours isn't named on the site, call and ask.