chmod match file permissions