Fix for Samba server masking world writeable perm off

Jeremy Allison jra at samba.org
Tue Feb 26 16:14:08 UTC 2019


On Tue, Feb 26, 2019 at 06:11:20PM +0200, Alexander Bokovoy wrote:
> > 
> > Is it possible some of the pam calls are setting a
> > umask internally ?
> Yes, most likely session phase is setting them -- either in pam_limits
> or in pam_systemd.

Hmmm. Should we then explicitly set umask(0) after
making the pam session calls ? It's setting the
umask for smbd which is unwanted.



More information about the samba-technical mailing list