[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Webdav problemen na security update



On Mon, Apr 24, 2017 at 04:13:36PM +0200, Richard Lucassen wrote:
> On Mon, 24 Apr 2017 14:09:45 +0200
> Paul van der Vlis <paul@vandervlis.nl> wrote:
> 
> > root@brik6:/data/bestanden# LANG=C echo hoi > onzintt
> > -bash: onzintt: Invalid argument
> > 
> > Iemand een idee hoe ik dit het beste kan debuggen?
> 
> LANG=C strace -f -o /tmp/strace.txt echo hoi > onzintt

Dat heeft geen zin.

Het probleem zit hem in het feit dat de '>' redirection niet kan
schrijven. Die redirection wordt door de shell geïmplementeerd, *niet*
door het echo commando. Dat wil dan ook zeggen dat strace helemaal niks
ziet.

Wat wel zou moeten werken:

strace -f -o /tmp/strace.txt bash -c "echo hoi > onzintt"

Echter, als davfs een FUSE-bestandssysteem is (en ik gok van wel), dan
zal dat waarschijnlijk ook niet al te veel zeggen. Is er geen debug
output van davfs?

-- 
< ron> I mean, the main *practical* problem with C++, is there's like a dozen
       people in the world who think they really understand all of its rules,
       and pretty much all of them are just lying to themselves too.
 -- #debian-devel, OFTC, 2016-02-12


Reply to: