[Samba] Newbie smb.conf question

Gerald (Jerry) Carter jerry at samba.org
Sun Jul 4 20:55:25 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 18 Jun 2004 mbc at reisonline.com wrote:

> Excuse my ignorance please, and the simple nature of this
> questions...but would someone explain to me the difference between the
> "create mode" and "force create mode" parameters in the smb.conf file?
> When would "create mode" *not* be forced?

create mode (a.k.a create mask) is a bit wise AND with the re2quest
permissions so any bit that should *not* be set in the final permissions
should be set to 0 in the create mask.

The force create mode is a bitwide OR so any permissions that must be set
in the final permission set should be enabled in the force create mode.





cheers, jerry
- ----------------------------------------------------------------------
Hewlett-Packard            ------------------------- http://www.hp.com
SAMBA Team                 ---------------------- http://www.samba.org
GnuPG Key                  ---- http://www.plainjoe.org/gpg_public.asc
"...a hundred billion castaways looking for a home." ----------- Sting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFA6G7BIR7qMdg1EfYRAgE8AJ9eauDtufxtnrcPGLyTiuP4fJv5MwCghF40
a+a5+DMJ6/3BS/WUXgBs++Q=
=11jy
-----END PGP SIGNATURE-----


More information about the samba mailing list