automatic creating dir in public