I think this should be kept, but maybe it should be restricted to apply when LXDISTRIBUTION = "debian".

I'll probably revert this patch. Sorry for the late response.... In any case, GNU's fileutils are to blame, can you pinpoint what precise fileutil versions you had on RedHat/SuSE that spewed the problem ('ls --version' would be enough)