fixed the trace file permission