Section 7. The real and personal property of a deceased person shall not be attached on mesne process in an action upon a debt due from, or upon a claim against, the deceased, except upon the permission of the probate court for the county where the executor or administrator of the deceased person was appointed. This section shall not apply to actions brought under section twenty-nine of chapter one hundred and ninety-seven.