> Von: Ondřej Surý [mailto:ond...@sury.org]
> 
> This should then fix even your case...
> 
> [ -x /usr/bin/lsof ] && /usr/bin/lsof -w -l +d "/var/lib/php5" -F0 | sed
> -zne "s/^n//p" | xargs -0i echo touch -c -h "'{}'"
> 
> touch -c -h '/var/lib/php5/xxx\'
> touch -c -h 'n/var/lib/php5/passwd'

Looks really good, I'm at my wits end with any more comments/improvements.

Only things I could think of

* strange behaviour with multibyte encodings (never dealt with that on C level)
* lsof peculiarities I did not notice till now (e.g. races)

[Snip]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to