Is the word "run" used in the same way in the following two sentences?

He can have the run of the house.

He has the run of the house.
the same meaning