set file modes explicitly