using chmod as fallback  fix Issue #438