[Samba] recycle: ... returned No such file or directory

Leander Schäfer info at netocean.de
Tue May 6 01:33:22 MDT 2014


It turns out, that files where the path has an umlaut inside, are not 
able to be deleted. They disappear after the deleting but appear a 
couple of milliseconds afterwards again with the logs I sent below.
This seems to be a more serious problem than I thought. Is there nothing 
I can do? deactivating the recycle bin is not an option ;(

Kind Regards
Leander


Am 05.05.14 17:22, schrieb Leander Schäfer:
> I also ensured my system's locale is set correctly
>
>
> root at Storage-01 [~]$ locale
>
> LANG=de_DE.UTF-8
> LC_CTYPE="de_DE.UTF-8"
> LC_COLLATE=C
> LC_TIME="de_DE.UTF-8"
> LC_NUMERIC=C
> LC_MONETARY="de_DE.UTF-8"
> LC_MESSAGES="de_DE.UTF-8"
> LC_ALL=
>
> I don't get the source of the problem here?! According to my 
> understanding everything is set correctly, yet it looks like I'm 
> missing some locale-settings - or this is a bug?! Lately I more and 
> more think it is a bug, because I haven't had this logs with the 
> previous samba41. Now I'm running Version 4.1.7 ... and I keep on 
> getting those weired logs even though nothing else on the system has 
> changed ... ;/
> Any idea what to do here or where to continue debugging? Thanks
>
> Kind Regards
> Leander
>
>
> Am 05.05.14 13:22, schrieb Leander Schäfer:
>> Hi,
>>
>> recently I see lots of logs like this. I figured, that many have 
>> umlaute in their name - but not all. My local FS displays the umlaute 
>> correctly - but it is not displayed correctly in the logfiles.
>> Also, when I browse through shares via Windows or MacOSx all files 
>> with umlaute seem to be displayed correctly.
>>
>> May  5 08:27:54 Storage-01 smbd[39207]:   recycle: stat for 
>> /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/BahngelÀnde/Bilder/2 
>> Baubilder/IMG_0223.JPG:AFP_AfpInfo returned No such file or directory
>> May  5 08:27:56 Storage-01 smbd[39207]: [2014/05/05 08:27:56.500661,  
>> 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch)
>>
>> May  5 08:29:26 Storage-01 smbd[39207]:   recycle: stat for 
>> /mnt/Share/.Trashes/Projekte/Bauvorhaben 2014/BahngelÀnde/Bilder/2 
>> Baubilder/Copy #1 of DSC04806.JPG:AFP_AfpInfo returned No such file 
>> or directory
>> May  5 08:29:30 Storage-01 smbd[39207]: [2014/05/05 08:29:30.286152,  
>> 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch)
>>
>> May  5 08:44:25 Storage-01 smbd[16465]:   recycle: stat for 
>> /mnt/Share/.Trashes/Firmen/Allgemein/Bilder/Hof 
>> Bilder/IMG_0042.JPG:AFP_AfpInfo returned No such file or directory
>> May  5 08:45:32 Storage-01 smbd[16465]: [2014/05/05 08:45:32.488777,  
>> 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch)
>>
>> May  5 08:47:41 Storage-01 smbd[16465]:   recycle: stat for 
>> /mnt/Share/.Trashes/Technik/Elektrotechnik/01 Erneuerbare 
>> Energien/Photovoltaik/PV Bahnhof StraÃM-^_e 
>> 6/Bilder/DSC04893.JPG:AFP_AfpInfo returned No such file or directory
>> May  5 08:47:42 Storage-01 smbd[16465]: [2014/05/05 08:47:42.631792,  
>> 0] ../source3/modules/vfs_recycle.c:408(recycle_do_touch)
>>
>> I have following settings in my smb4.conf
>> [ ... ]
>>   # Charset
>>   unix charset       = UTF-8
>>   dos charset        = cp1252
>> [ ... ]
>>
>> FS below is a ZFS
>



More information about the samba mailing list