From 6226ac26ef63335bfb817db02b3f295c78214a82 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Wed, 3 Mar 2021 12:47:28 +0100 Subject: minstall: Correctly set uid/gid of installed files In commit caab4d3d, the uid and gid arguments passed to os.chown() by set_chown() were accidentally swapped, causing files to end up with incorrect owner/group if the owner and group are not the same. Also update the documentation to better indicate which argument to install_mode is which. Signed-off-by: Peter Kjellerstedt --- docs/markdown/Reference-manual.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/markdown/Reference-manual.md b/docs/markdown/Reference-manual.md index 76c8f70..83eba89 100644 --- a/docs/markdown/Reference-manual.md +++ b/docs/markdown/Reference-manual.md @@ -1065,7 +1065,7 @@ arguments. The following keyword arguments are supported: `install_mode: 'rw-r--r--'` for just the file mode - `install_mode: ['rw-r--r--', 'nobody', 'nobody']` for the file mode and the user/group + `install_mode: ['rw-r--r--', 'nobody', 'nogroup']` for the file mode and the user/group `install_mode: ['rw-r-----', 0, 0]` for the file mode and uid/gid -- cgit v1.1