|
GNU Mailutils |
General-Purpose Mail Package |
Official GNU Software |
homedir Statementhomedir {
# Create user home directory if needed.
create bool;
# File mode for newly created directories.
mode octal;
}
This statement defines the actions a program is to take if a user’s
home directory does not exist. It affects the following utilities:
imap4d, lmtpd, mda, and
putmail.
If bool is true, create the missing home directory. If
necessary, create also any missing intermediate directories in its
pathname.
If false, signal an error and terminate.
When creating home directory, set its file mode to the given value. The argument is a three-digit octal value.
The default value is ‘700’ (‘drwx------’ in ls terms).
Notice, that it applies only to newly created home directories. If any intermediate directories need to be created, they will have the mode ‘755’.
This document was generated on December 11, 2025 using makeinfo.
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.