Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: UID/GID assignment for apache (81)
Date: Tue, 13 Aug 2019 18:21:37
Message-Id: cc3a9373-c2b5-e9d4-dfd2-95a1052ea105@gentoo.org
In Reply to: Re: [gentoo-dev] RFC: UID/GID assignment for apache (81) by Lars Wendler
1 On 8/13/19 1:53 PM, Lars Wendler wrote:
2 >
3 > thanks for the review. I've force-pushed the acct-user/apache commit
4 > with ACCT_USER_HOME_OWNER being set to root:root.
5 >
6
7 Is there any benefit to
8
9 ACCT_USER_HOME=/var/www
10 ACCT_USER_HOME_OWNER=root:root
11
12 versus
13
14 keepdir /var/www
15
16 in the eclass?
17
18 I think root:root is correct for /var/www, but setting it explicitly
19 will clobber any existing permissions that the administrator or other
20 packages have set. For example, if my web developers have write access
21 to /var/www via group membership, then when I install acct-user/apache,
22 /var/www will get set back to root:root with mode 755 and they'll be
23 locked out temporarily.

Replies

Subject Author
Re: [gentoo-dev] RFC: UID/GID assignment for apache (81) Lars Wendler <polynomial-c@g.o>