diff options
author | Alexander Kurakin <kuraga333@mail.ru> | 2023-01-27 18:17:27 +0300 |
---|---|---|
committer | Conrad Kostecki <conikost@gentoo.org> | 2023-02-01 02:08:24 +0100 |
commit | b5153ffa5ea7fe2fd116ab191c558b5eb4226906 (patch) | |
tree | 162da40e4a3f10cd4c4f5d8840be3df3649362de /acct-user/headscale | |
parent | dev-lua/luaposix: drop 36.0 (diff) | |
download | gentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.tar.gz gentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.tar.bz2 gentoo-b5153ffa5ea7fe2fd116ab191c558b5eb4226906.zip |
acct-user/*: remove ACCT_USER_HOME_OWNER if it is equal to default
`acct-user.eclass`'s documentation [says](https://devmanual.gentoo.org/eclass-reference/acct-user.eclass/index.html):
```
ACCT_USER_HOME_OWNER
The ownership to use for the home directory, in chown ([user][:group]) syntax.
Defaults to the newly created user, and its primary group.
```
```
ACCT_USER_GROUPS (REQUIRED)
List of groups the user should belong to. This must be a bash array.
The first group specified is the user's primary group, while the remaining groups (if any)
become supplementary groups.
```
So we can remove in `acct-user/user/user-0.ebuild`:
```
ACCT_USER_HOME_OWNER="user"
```
Moreover if we have:
```
ACCT_USER_GROUPS=( primary_group group2 )
```
, we can remove
```
ACCT_USER_HOME_OWNER="user:primary_group"
```
Signed-off-by: Alexander Kurakin <kuraga333@mail.ru>
Closes: https://github.com/gentoo/gentoo/pull/29214
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'acct-user/headscale')
-rw-r--r-- | acct-user/headscale/headscale-0.ebuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/acct-user/headscale/headscale-0.ebuild b/acct-user/headscale/headscale-0.ebuild index e30127cddfdb..23080db987f7 100644 --- a/acct-user/headscale/headscale-0.ebuild +++ b/acct-user/headscale/headscale-0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -8,7 +8,6 @@ inherit acct-user DESCRIPTION="Headscale Server hosting user" ACCT_USER_ID=514 -ACCT_USER_HOME_OWNER=headscale:headscale ACCT_USER_HOME_PERMS=750 ACCT_USER_GROUPS=( headscale ) ACCT_USER_HOME=/var/lib/headscale |