Depends on fox. If they are grey foxes then no problem at all. They are also the best mousers you can have around.
Red fox are much larger and can and will prey on smaller or near equal size mammals.
We have several families of grey fox around the lake house and they are fun to watch. The kits play like little puppies and get quite used to humans.