Fixed permission test on