[Pkg-samba-maint] Bug#410048: Feature, not bug

Stepan Golosunov stepan at golosunov.pp.ru
Mon Dec 8 07:34:57 UTC 2008


On Sun, Dec 07, 2008 at 07:33:53PM +0100, Christian Perrier wrote:
> Having the executable bit set when files are created on a samba share
> is a feature, not a bug.

With "create mode = 0664"?

> This is related to "map archive". See smb.conf(5): samba maps the
> Windows archive bit to the executable bit for the file owner.

This bug is not about executable bit for the file owner. It's about
samba being too smart and applying "create mask" differently then all
other applications. Which results in

-rw-rwxr--+ permissions for files created with 0664 create mask.

> If you want to avoid this behaviour, you need to set "map archive =
> no" in smb.conf, either globally or for the relevant shares.

This wouldn't help with default acls.





More information about the Pkg-samba-maint mailing list