Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SMB create and directory mask defaults (#14655)
This is a regression that slipped into large refactor effort to remove clustering vestiges in Electric Eel. The values for default create mask and directory mask became more restrictive than in previous TrueNAS versions. This commit resets them to old defaults for the directory mask (775) but a slightly more restrictive default for files (664) since execute is generally not desired for newly created files. Tests validating new defaults is also added. Generally, these values are not used when SMB shares are created with our recommended default configuration (using NFSv4 ACLs with a restricted aclmode) and so impact on userbase during BETA / RC cycles was minimal.
- Loading branch information