From: OmBreNoiRe on
Good idea ! But it didn't work...
I tried /Icon^M/ and /Icon\\^M/ and /Icon\^M/ and / Icon[^M]/ none of
these is working (^M was made with ctrl-V + ctrl-M)
Is it an hopeless situation ?

Loren M. Lang a écrit :
> On Mon, Mar 29, 2010 at 12:10:00PM +0200, OmBreNoiRe wrote:
>
>> Hi !
>>
>> I would like to remove from listing the "Icon?" files created by mac =20
>> user when they customize their folder icon.
>>
>> So I did in my smb.conf :
>> veto files =3D /Icon?/
>>
>
> This doesn't solve your problem, but I thought I'd mention it for others
> finding this. I think /Icon[?]/ should properly match a file named
> Icon?.
>
> As for matching \r, a literal ^M in the config file might work. Try
> hitting Control-V followed by Control-M on your keyboard. It should
> create a literal ^M as opposed to a ^ followed by M.
>
>
>> ok it's working, but "Icone" "Iconx" "Icons" will be removed too. I =20
>> tried veto files =3D /Icon\?/ but it's not working,
>> Is there a way to use question mark (?) but not as a wild-card ?
>>
>> Thanks in advance for your answer,
>>
>> Best regards,
>>
>> OmBreNoiRe
>> --=20
>> To unsubscribe from this list go to the following URL and read the
>> instructions: https://lists.samba.org/mailman/options/samba
>>
>>
>
> --=20
> Loren M. Lang
> Alzatex, Inc.
> lorenl(a)alzatex.com
> http://www.alzatex.com/
>
>

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
From: Volker Lendecke on
On Tue, Mar 30, 2010 at 12:49:57PM +0200, OmBreNoiRe wrote:
> Good idea ! But it didn't work...
> I tried /Icon^M/ and /Icon\\^M/ and /Icon\^M/ and / Icon[^M]/ none of
> these is working (^M was made with ctrl-V + ctrl-M)
> Is it an hopeless situation ?

I think so, yes, at the moment. Please file an enhancement bug at
https://bugzilla.samba.org/

Thanks,

Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba