fixed permission on linked complex output file