[Samba] per-directory create mask

Gerald (Jerry) Carter jerry at samba.org
Sun Feb 4 13:04:27 GMT 2007


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

Toni Casueps wrote:

> I have set a "create mask" that works well for most 
> uses, but there are some directories inside my shares
> where I need to make files read-only, and my create
> mask makes every new file world-writable. Is there a way
> to specify a different create mask for some 
> specified directories?

See "inherit permissions" in smb.conf(5).





cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFxdnbIR7qMdg1EfYRArm/AKDYNLITiI9nnsprpctN8048FgtmpQCfegSX
FI4EONQpPUwqP11NdCR4r2U=
=5t3R
-----END PGP SIGNATURE-----


More information about the samba mailing list