Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Jul 2024 20:36:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280099] adduser not respecting home directory mode
Message-ID:  <bug-280099-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280099

            Bug ID: 280099
           Summary: adduser not respecting home directory mode
           Product: Base System
           Version: 14.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: dan@danielyli.com

I noticed today that the home directory for a new user created via any of t=
hese
methods will always have permissions `755`:

1. `adduser -M 700`
2. `adduser`, and then manually specify `700` in interactive mode
3. Configure default mode via `adduser -C`, then execute the above #1 or #2

`adduser` seems to always ignore the specified mode. Is this a bug, or is t=
his
user error?

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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