test at changing permissions of domain