Are there some relations between the parameter "obey pam restrictions" and "force create mode" ?

Fengwei feng.wei at
Wed Apr 12 07:02:45 UTC 2017

Hi all:
     Thanks for your attention.I have a question about the parameter "obey pam restrictions" and "force create mode".when I set "obey pam restrictions = yes" and "force create mode = 0777" in the smb.conf, I create a file in the shared folder in windows7 but the file mode is 755.However, if I set "obey pam restrictions = no" and "force create mode = 0777" in the smb.conf, the mode of the file which is created in the shared folder is 777.Are there some relation between the two parameters?
     Best regards!

This e-mail and its attachments contain confidential information from H3C, which is
intended only for the person or entity whose address is listed above. Any use of the
information contained herein in any way (including, but not limited to, total or partial
disclosure, reproduction, or dissemination) by persons other than the intended
recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
by phone or email immediately and delete it!

More information about the samba-technical mailing list