Just change file permission
Doc should not be destroied if it has prev_edition