[BUGFIX] Skip some permissions tests if run as root