I have never found a sealant that will for certain and forever stand up to petrol. Certainly not one that will attach the glass bowl mechanically to the filter.
What would work nicely is a flat silicone gasket, held with the bowl onto the body by a wire "bail". Alternately a brass hoop with a screw would also be prototypical and reliable. These hoops are usually made with pivots to the body at the ends and the clamping screw in the middle. Just food for thought.
Both the wire type and metal strip type were widely used on motorcycles and tractors well into the 1950's.
It's definitely a good idea to be able to get the bowl off a fuel filter as they do get debris in them that needs to be cleaned out time to time.
Edited By Jeff Dayman on 14/01/2023 14:56:13