Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jul 2024 05:17:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 280099] adduser not respecting home directory mode
Message-ID:  <bug-280099-227-cYQabUT202@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-280099-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280099

--- Comment #5 from Daniel Li <dan@danielyli.com> ---
After reading over 215c0a5, it doesn't appear to be anything wrong with the
commit itself.

The issue seems to be upstream in `pw` and unrelated to zfs; specifically, `pw`
doesn't seem to change the directory permissions if the home directory is a
mounted file system.

To reproduce via, say, nullfs:

      mkdir /any/arbitrary/new/dir
      mount -t nullfs /any/arbitrary/new/dir /home/newuser
      pw useradd newuser -m -M 700

The /home/newuser directory will be unchanged, as if 700 were not specified.

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

home | help

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