Possible bug: `adduser` not respecting home directory mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Jul 2024 06:51:57 UTC
Hi there, I noticed today that the home directory for a new user created via any of these methods will always have permissions `rwxr-xr-x`: 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 this user error? freebsd-version -kru gives: 14.1-RELEASE 14.1-RELEASE 14.1-RELEASE-p1 Best, Daniel Li