set file attributes