More debugging + a bugfix to Vperm functionality of "open-class" functions
More debugging + a bugfix to Vperm functionality of "open-class" functions

- the bugfix: errno was lost when root simulation was active, and open
  of a regular file failed because of e.g. EEXIST.

OlegGirko/ldbox,ldbox/ldbox,h113331pp/scratchbox2,ldbox/ldbox,OlegGirko/ldbox,h113331pp/scratchbox2,OlegGirko/ldbox,h113331pp/scratchbox2,ldbox/ldbox,OlegGirko/ldbox,h113331pp/scratchbox2,ldbox/ldbox,OlegGirko/ldbox,OlegGirko/ldbox,ldbox/ldbox,ldbox/ldbox,h113331pp/scratchbox2,h113331pp/scratchbox2