Closed KoxSosen closed 10 months ago
Ah yes, the shell glob is evaluated with non-root permissions.
I missed that this PR was opened against stable
; in future, please open PRs against master
unless there's a clear reason to use another branch.
Noted, and thank you merging!
On Debian 12 adduser doesn't create a home directory for a system user by default, instead the "home" directory will be
/nonexistent
. To create a home directory, we need to explicitly specify the--home
parameter and point it to a directory.Additionally, chown fails with the syntax from the manual. Instead of using a wildcard, specifying the
-R
parameter should recursively change ownership of directories, which seems perfect in this case.I'm not sure if it's the correct decision to update the manual because of backwards compatibility issues, but I figured to open a pull request still. If nothing more, a note would be great in my opinion.