[Bug 280099] adduser not respecting home directory mode
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280099] adduser not respecting home directory mode"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 Jul 2024 05:17:34 UTC
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.