Let $X$ be an irreducible smooth projective variety over a field $k$ (algebraically closed and of characteristic zero if needed). Let $U \subseteq X$ an affine open such that $O_X(U)$ is factorial and $O_X(U)^* = k^*$. Let $D_1, \dots D_k$ be the irreducible closed subvareities of $X$ such that $X= U \cup D_1 \cup \dots \cup D_k$. As $U$ is affine it's pure in codimension one, hence each $D_i$ is a divisor, and uder our hypothesis we have that $$Pic(X) \simeq \bigoplus_{i = 1}^k \mathbb{Z} O(D_i).$$ I would like to undertand what can be said on the Cox RingC of $X$ under the above hypothesis. Namely can we say something about the following questions?
Is it true that under the above hypothesis $H^0( X, O (\sum_{i=1}^k n_i D_i) ) \neq 0$ implpies that each $n_i$ is non-negative? Probably this is a too strong statement but is it true if we also assume that $U$ is an affine space, so $U \simeq \mathbb{A}^r$ for a certain $r$?
The following question looks false to me but still I'm not able to produce a countrexample. Is it true that the $k$-algebra $$R:= \bigoplus _{\underline{n} \in \mathbb{Z}^k} H^0(X, O(\sum_{i=1}^k \underline{n}_i D_i) )$$ is generated by $\oplus H^0(X, O(D_i))$?
Is question 2 true if we assume that there is a reductive algebraic group $G$ acting on $X$ such that the $D_i$ are $G$-stable and $U$ contains an open $B$-orbit where $B$ is a Borel subgroup of $G$ ?
Probably these facts are known to specialists so if a reference exists it will be largely enough. Thank you.