add file permission.