Let $E$ be a locally compact separable metric space, $\mathcal{B}(E)$ be the $\sigma$-algebra of $E$ and $m$ be a $\sigma$-finite borel measure on $(E,\mathcal{B}(E))$.
Assumtion
There exists a dense subset $S$ of $L^{2}(E;m)$ and $S \cap C_{0}(E)$ is dense in $C_{0}(E)$ (:= all continuous functions on $E$ with compact support) w.r.t uniform norm.
My Question
For every relatively compact open subset $U$ of $E$, does there exists a $f\in S$ such that $f\geq1\,m$-a.e. on $U$ ?
My idea:
By Urysohn's lemma, there exists a $g\in C_{0}(E)$ such that $g|_{\bar{U}}=1$. Since $S\cap C_{0}(E)$ is dence in $C_{0}(E)$, there exists a $(f_{n})\subset S \cap C_{0}(E) \subset S $ s.t. $f_{n}\to g$ in $C_{0}(E)$. But I can't find a $f$ as in my question.
Do you know a nice example? Please let me know.