Skip to content

Commit e2d21f7

Browse files
Update docs/src/building/users-and-groups.md
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent fddadc2 commit e2d21f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/src/building/users-and-groups.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,12 @@ of at build time. If `/etc` is persistent, this can avoid uid/gid drift (but
9595
in the general case it does mean that uid/gid allocation can
9696
depend on how a specific machine was upgraded over time).
9797

98-
Note that the default sysusers design is that users are allocated client
99-
side (per machine). Avoid trying to have non-root owned files managed
100-
by sysusers inside your image, especially underneath `/usr`. Aside from
101-
set{uid,gid} binaries (which should themselves be strongly avoided) there's
102-
really no good use case for having non-root owned files in `/usr` or other
103-
runtime immutable directories.
98+
Note that the default `sysusers` design is that users are allocated on the client
99+
side (per machine). Avoid having non-root owned files managed by `sysusers`
100+
inside your image, especially underneath `/usr`. With the exception of
101+
`setuid` or `setgid` binaries (which should also be strongly avoided), there is
102+
generally no valid reason for having non-root owned files in `/usr` or other
103+
runtime-immutable directories.
104104

105105
#### User and group home directories and `/var`
106106

0 commit comments

Comments
 (0)