[Samba] Copied Files always have executable attribute

Andrew Bartlett abartlet at pcug.org.au
Fri Apr 5 21:24:02 GMT 2002

> Jeff Holle wrote:
> I'm a happy user of Samba 2.2.3a to connect my Windows 2000 machine
> with my Mandrake 8.2 Linux machine.
> However, I've a question.
> When I copy/create a file from my windows machine to my linux machine,
> it always ends up with the executable attribute bit set.
> This is never correct since windows executables have no business on a
> linux machine!
> I can remedy this problem by manually using the "chmod -X" command.
> Is there a way I can configure Samba to always not mark the executable
> attribute in the process of copying/creating files?

'map archive = no'

Andrew Bartlett

Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net

More information about the samba mailing list