diff options
author | David Thompson <dthompson2@worcester.edu> | 2023-01-14 10:53:16 -0500 |
---|---|---|
committer | Josselin Poiret <dev@jpoiret.xyz> | 2023-08-25 15:12:54 +0200 |
commit | e9a5eebc785cb843034b38c5c5a6dd10904bdf2a (patch) | |
tree | 3e4a142df6bc9a702ba20875b0f4f7bda98018bd /doc | |
parent | 6c447ababfb11581a75cff8281e96f701e216692 (diff) | |
download | guix-e9a5eebc785cb843034b38c5c5a6dd10904bdf2a.tar guix-e9a5eebc785cb843034b38c5c5a6dd10904bdf2a.tar.gz |
gnu: system: Add home-directory-permissions field to <user-account>.
* gnu/system/accounts.scm (<user-account>)[home-directory-permissions]: New
field.
(user-account-home-directory-permissions): New accessor.
* gnu/build/activation.scm (activate-users+groups): Use home directory
permission bits from the user account object.
* doc/guix.texi (User Accounts): Document new field.
Signed-off-by: Josselin Poiret <dev@jpoiret.xyz>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index f03a88482e..c60e0b87b2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -18049,6 +18049,10 @@ administrator's choice; reconfiguring does @emph{not} change their name. @item @code{home-directory} This is the name of the home directory for the account. +@item @code{home-directory-permissions} (default: @code{#o700}) +The permission bits for the home directory. By default, full access is +granted to the user account and all other access is denied. + @item @code{create-home-directory?} (default: @code{#t}) Indicates whether the home directory of this account should be created if it does not exist yet. |