Tub and peak sealant? I have a whole running along beneath the glass screen sitting resting...

I have a whole running along beneath the glass screen sitting resting on the side of the tub. How can I cover the long opening so water wont come out? Is near something that is water resistant?

Thanks!
Answers:    acquire a bath caulking. dap is great its in the red tube
Try a non-silicone caulk.
I read out this because silicone is very difficult to remove if you need to next, and moisture sometimes gets behind it and grows misshapen algae.