[Sync xFace3.1]Add function of cycle setting permissions on files, to fix some errors, which are caused by insufficient permissions bug of apps operating files