Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2024 21:31:12 GMT
From:      Olivier Certner <olce@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: bbbe9b4c641c - stable/14 - login.conf(5): Document umask's special value 'inherit'
Message-ID:  <202402012131.411LVC2G080607@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by olce:

URL: https://cgit.FreeBSD.org/src/commit/?id=bbbe9b4c641cdd7996b9e2836476f19f1938cf76

commit bbbe9b4c641cdd7996b9e2836476f19f1938cf76
Author:     Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2023-06-21 08:42:44 +0000
Commit:     Olivier Certner <olce@FreeBSD.org>
CommitDate: 2024-02-01 21:29:09 +0000

    login.conf(5): Document umask's special value 'inherit'
    
    Reviewed by:            emaste
    Approved by:            emaste (mentor)
    MFC after:              3 days
    Sponsored by:           Kumacom SAS
    Differential Revision:  https://reviews.freebsd.org/D40688
    
    (cherry picked from commit ea9bd448102b938ccb8d4b484684a6ba2d934931)
    
    Approved by:            markj (mentor)
---
 lib/libutil/login.conf.5 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/libutil/login.conf.5 b/lib/libutil/login.conf.5
index 7449c11f2ba5..b2478bb7a88c 100644
--- a/lib/libutil/login.conf.5
+++ b/lib/libutil/login.conf.5
@@ -255,6 +255,9 @@ from other means.
 .It "timezone	string		Default value of $TZ environment variable."
 .It "umask	number		Initial umask. Should always have a leading 0 to"
 ensure octal interpretation.
+Special value
+.Ql inherit
+explicitly indicates not to change the umask.
 .It "welcome	file	/etc/motd	File containing welcome message."
 .El
 .Sh AUTHENTICATION


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402012131.411LVC2G080607>