Hi Igor,
I delete it, but I got the same error ().
the output of the following command (without the creation of any folder in advance)
STAR --runThreadN 12 --runMode genomeGenerate --outTmpDir tmp --genomeDir STAR_genome/ --genomeFastaFiles $ref_fa_dir --sjdbGTFfile $ref_gtf_dir --sjdbOverhang 100 --genomeChrBinNbits 15
is the same like before. But if no --outTmpDir option is specified, I got the same error except the tmp/ directory which is replaced by the default STAR directory.