[Samba] Mac client

Adam Hardy adam.ant at cyberspaceroad.com
Fri Nov 16 10:43:53 GMT 2007

Good tip. I'm posting it to lists.samba.org so it will end up in the archives.


Ryan Bair on 15/11/07 18:32, wrote:
> As a side note, there is an option for the Mac clients to disable the
> .DS_Store files from being created on network volumes. I always use
> this on my clients because the .DS_Store creation will update the
> modtime on the directory every single time a user goes to the
> directory. It also causes the directory to open in the same view that
> the last person was using, which tends to irritate users.
> The command is "defaults write com.apple.desktopservices
> DSDontWriteNetworkStores true" in the  terminal.
> --Ryan
> On Nov 15, 2007 3:34 AM, Adam Hardy <adam.ant at cyberspaceroad.com> wrote:
>> Mikko Suomi on 14/11/07 16:48, wrote:
>>> Adam Hardy wrote:
>>>> I'm trying to copy files to a Samba share that I have set up on a
>>>> linux debian machine from a Mac running OS X, using samba 3.0.24.
>>>> The Mac complains that there is something wrong with the file name,
>>>> and then refuses to copy, and the operation leaves a zero-byte file
>>>> with the same name on the samba share.
>>> I had similiar problems with Mac's when I had veto files = /.*/ in samba
>>> share to pervent users from deleting their linux profile files from
>>> Windows workstations. (OSx likes to create .DS_Store -files to it's
>>> folders) For some reason files could be written to samba from Macs
>>> terminal window. Chancing veto files to /.bash*/ fixed problem for me.
>> Thanks for the tip.
>> I had veto = /*.{*}/.*/mail/bin
>>   - put in there by default by SWAT!

More information about the samba mailing list